Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » a collection of PDT errors on Eclipse Classic 4.2.2
a collection of PDT errors on Eclipse Classic 4.2.2 [message #1057985] Fri, 10 May 2013 10:46 Go to next message
Juris Sudmalis is currently offline Juris Sudmalis
Messages: 9
Registered: March 2011
Junior Member
I've recently started writing some PHP code at home on Eclipse 4.2 and I've noticed that the PHP Development Tools plugin seems to be outdated and doesn't work well with my Eclipse version.
I've received these and more errors in the error log:

1)
Help index declared, but missing for plugin org.eclipse.php.help.
(no stacktrace)

2)
Conflicting handlers for org.eclipse.wst.sse.ui.toggle.comment: {org.eclipse.php.internal.ui.actions.PHPToggleLineCommentHandler@160277c} vs {org.eclipse.wst.sse.ui.internal.handlers.ToggleLineCommentHandler@1c072e9}

This one pops up very frequently when editing a PHP file.

3)
offset 16039 is out of [0, 119]

Quote:
org.eclipse.jface.text.BadLocationException: offset 16039 is out of [0, 119]
at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.checkBadLocation(PhpTokenContainer.java:453)
at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.getToken(PhpTokenContainer.java:59)
at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.getTokens(PhpTokenContainer.java:105)
at org.eclipse.php.internal.core.documentModel.parser.regions.PhpScriptRegion.getPhpTokens(PhpScriptRegion.java:105)
at org.eclipse.php.internal.core.format.DefaultIndentationStrategy.lineContainIncompleteBlock(DefaultIndentationStrategy.java:486)
at org.eclipse.php.internal.core.format.DefaultIndentationStrategy.isIndentationBase(DefaultIndentationStrategy.java:323)
at org.eclipse.php.internal.core.format.DefaultIndentationStrategy.getIndentationBaseLine(DefaultIndentationStrategy.java:110)
at org.eclipse.php.internal.core.format.DefaultIndentationStrategy.placeMatchingBlanksForStructuredDocument(DefaultIndentationStrategy.java:636)
at org.eclipse.php.internal.core.format.DefaultIndentationStrategy.placeMatchingBlanks(DefaultIndentationStrategy.java:565)
at org.eclipse.php.internal.ui.autoEdit.IndentLineAutoEditStrategy.placeMatchingBlanks(IndentLineAutoEditStrategy.java:190)
at org.eclipse.php.internal.ui.autoEdit.IndentLineAutoEditStrategy.autoIndentAfterNewLine(IndentLineAutoEditStrategy.java:58)
at org.eclipse.php.internal.ui.autoEdit.IndentLineAutoEditStrategy.customizeDocumentCommand(IndentLineAutoEditStrategy.java:124)
at org.eclipse.php.internal.ui.autoEdit.MainAutoEditStrategy.customizeDocumentCommand(MainAutoEditStrategy.java:64)
at org.eclipse.jface.text.TextViewer.customizeDocumentCommand(TextViewer.java:3779)
at org.eclipse.jface.text.TextViewer.handleVerifyEvent(TextViewer.java:3816)
at org.eclipse.jface.text.source.projection.ProjectionViewer.handleVerifyEvent(ProjectionViewer.java:1276)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.handleVerifyEvent(StructuredTextViewer.java:761)
at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText(TextViewer.java:435)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:273)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7146)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8007)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2467)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5907)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5937)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5629)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1521)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


4)
Unhandled event loop exception

Quote:
java.lang.NullPointerException
at org.eclipse.php.internal.ui.editor.PHPStructuredTextAnnotationHover.compareRulerLine(PHPStructuredTextAnnotationHover.java:159)
at org.eclipse.php.internal.ui.editor.PHPStructuredTextAnnotationHover.getMarkerMessages(PHPStructuredTextAnnotationHover.java:307)
at org.eclipse.php.internal.ui.editor.PHPStructuredTextAnnotationHover.getHoverInfo(PHPStructuredTextAnnotationHover.java:239)
at org.eclipse.jface.text.source.AnnotationBarHoverManager.computeInformation(AnnotationBarHoverManager.java:385)
at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1131)
at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:519)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:208)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


Have any of these errors been resolved in the latest commits to the PDT repository, and if yes, how could I get a build of the latest sources? It seems building Eclipse plugins isn't straightforward and I only need this one plugin, so wasting the time to learn how to do that might not be worth it.

[Updated on: Fri, 10 May 2013 10:47]

Report message to a moderator

Re: a collection of PDT errors on Eclipse Classic 4.2.2 [message #1060458 is a reply to message #1057985] Fri, 24 May 2013 19:13 Go to previous message
Kathy Piast is currently offline Kathy Piast
Messages: 2
Registered: May 2013
Junior Member
Hey Juris, did you ever manage to figure this issue out? I'm having the exact same problem on a new machine I'm setting up.

[Updated on: Fri, 24 May 2013 19:13]

Report message to a moderator

Previous Topic:Step back in debugger
Next Topic:Linking eclipse simulator and FORTRAN language
Goto Forum:
  


Current Time: Wed Sep 17 23:51:09 GMT 2014

Powered by FUDForum. Page generated in 0.04201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software