Community
Participate
Working Groups
What steps will reproduce the problem? 1. Open a PHP file from a PHP project with javascript support 2. Results in hundreds of Zero or negative length StyleRange errors -- Error Details -- Date: Thu Jan 27 12:14:35 GMT 2011 Message: Zero or negative length StyleRange 89785:0 Severity: Error Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product) Plugin: org.eclipse.wst.sse.ui Session Data: eclipse.buildId=M20100909-0800 java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.php.product -keyring /Users/jimmyo/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.php.product -keyring /Users/jimmyo/.eclipse_keyring -showlocation Exception Stack Trace: java.lang.IllegalArgumentException: Zero or negative length StyleRange 89785:0 at org.eclipse.php.internal.ui.editor.configuration.PresentationCollector.add(PresentationCollector.java:41) at org.eclipse.wst.sse.ui.internal.provisional.style.AbstractLineStyleProvider.prepareTextRegion(AbstractLineStyleProvider.java:298) at org.eclipse.wst.sse.ui.internal.provisional.style.AbstractLineStyleProvider.prepareTextRegions(AbstractLineStyleProvider.java:331) at org.eclipse.wst.sse.ui.internal.provisional.style.AbstractLineStyleProvider.prepareRegions(AbstractLineStyleProvider.java:249) at org.eclipse.php.internal.ui.editor.configuration.StructuredDocumentDamagerRepairer.createPresentation(StructuredDocumentDamagerRepairer.java:27) at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredPresentationReconciler.createPresentation(PHPStructuredPresentationReconciler.java:268) at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.createRepairDescription(StructuredPresentationReconciler.java:931) at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter.createPresentation(SemanticHighlightingPresenter.java:371) at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingReconciler.reconcile(SemanticHighlightingReconciler.java:150) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.endProcessing(DocumentRegionProcessor.java:119) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:682) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
hi,this has been fixed in head already,thanks
Verified. Closing...