Opened 6 years ago

Last modified 5 years ago

#572 assigned Bugs (None)

IllegalArgumentException during formatting

Reported by: lagnat Owned by: ed_mann
Priority: 5 Milestone: 1.5.0
Component: PHP Editor Version: None
Keywords: Cc:

Description (last modified by ed_mann)

The problem is intermittent, even on the same file.  More time than not, I get a failure.  Attached is the stack trace.

Change History (3)

comment:1 Changed 6 years ago by lagnat

Logged In: YES 
user_id=208673
Originator: YES

Assigned to emann, as requested.

comment:2 Changed 6 years ago by ercete

Logged In: YES 
user_id=1712952
Originator: NO

Eclipse 3.2 / PHPEclipse 1.2.0 CVS

I also encounter this bug, and I found a work around :

First you can format a region by selecting it and typing the key sequence Ctrl+Shift+F, I noticed that the bug appears only when you're trying to format a "closed" region like comments paragraphs...

Disable the "folding" option does the trick !
General->PHPEclipse->PHP[Folding] : Uncheck "Enable folding when opening a new editor"

regards,

comment:3 Changed 5 years ago by ed_mann

  • billable set to 0
  • Description modified (diff)
  • Milestone set to 1.5.x
  • os_platform set to Linux
Note: See TracTickets for help on using tickets.