Announcement Announcement Module
Collapse
No announcement yet.
STS 2.7.2 java editor error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 2.7.2 java editor error

    Hi,

    With both 2.7.2 and 2.8.0M1 STS versions, I'm facing very annoying NullPointerException errors in java editors.
    I must close the editor and reopen it to continue working.

    Note that with 2.7.1 version, I hadn't any problem.
    Is there an easy way to downgrade STS to 2.7.1 version ?

    Thanks,

    Joel

    Here's the copy of the error details from STS error log event detail
    FYI, I'm on Windows Xp x64 service pack 2.

    eclipse.buildId=2.8.0.201108101000-M1
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
    Framework arguments: -product com.springsource.sts.ide
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide

    This is a continuation of log file C:\Dev\sts\workspace\.metadata\.bak_0.log
    Created Time: 2011-09-19 16:11:16.917

    Error
    Mon Sep 19 16:54:39 CEST 2011
    Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

    java.lang.NullPointerException
    at org.eclipse.ui.texteditor.SelectMarkerRulerAction. includesRulerLine(SelectMarkerRulerAction.java:293 )
    at org.eclipse.jdt.internal.ui.javaeditor.JavaSelectA nnotationRulerAction.findJavaAnnotation(JavaSelect AnnotationRulerAction.java:157)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaSelectA nnotationRulerAction.update(JavaSelectAnnotationRu lerAction.java:108)
    at org.eclipse.ui.texteditor.AbstractRulerActionDeleg ate.update(AbstractRulerActionDelegate.java:132)
    at org.eclipse.ui.texteditor.AbstractRulerActionDeleg ate.setActiveEditor(AbstractRulerActionDelegate.ja va:89)
    at org.eclipse.ui.internal.EditorPluginAction.editorC hanged(EditorPluginAction.java:75)
    at org.eclipse.ui.internal.EditorActionBuilder$Editor Contribution.editorChanged(EditorActionBuilder.jav a:83)
    at org.eclipse.ui.internal.EditorActionBuilder$Extern alContributor.setActiveEditor(EditorActionBuilder. java:129)
    at org.eclipse.ui.internal.EditorActionBars.partChang ed(EditorActionBars.java:346)
    at org.eclipse.ui.internal.WorkbenchPage$3.run(Workbe nchPage.java:709)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.jav a:888)
    at org.eclipse.ui.internal.WorkbenchPage.activatePart (WorkbenchPage.java:698)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePar t(WorkbenchPage.java:3632)
    at org.eclipse.ui.internal.WorkbenchPage.requestActiv ation(WorkbenchPage.java:3159)
    at org.eclipse.ui.internal.PartPane.requestActivation (PartPane.java:279)
    at org.eclipse.ui.internal.EditorPane.requestActivati on(EditorPane.java:98)
    at org.eclipse.ui.internal.PartPane.handleEvent(PartP ane.java:237)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1053)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1058)
    at org.eclipse.swt.widgets.Shell.setActiveControl(She ll.java:1447)
    at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(She ll.java:2320)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4572)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.j ava:341)
    at org.eclipse.swt.widgets.Decorations.windowProc(Dec orations.java:1610)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.jav a:2061)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.j ava:341)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS .java:2525)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc( Scrollable.java:80)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:4623)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.j ava:341)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4985)
    at org.eclipse.swt.internal.win32.OS.PeekMessageW(Nat ive Method)
    at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.j ava:3095)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3749)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:674)
    at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:14 10)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1 386)

  • #2
    Hey!

    It looks like it could be related to this:
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=357918

    HTH,
    Martin

    Comment


    • #3
      yeah, it looks like this.

      thanks, I should have looked into this before posting.

      Regards,

      Joel

      Comment

      Working...
      X