pulse00/Twig-Eclipse-Plugin — Issue #31: NullPointerException
Author: mikuel
Created: 2011-11-15 13:30:15+00:00
State: open

I'm getting these NullPointerException error popups almost all the time when viewing through my twig document.

Infos from error log:

java.lang.NullPointerException
at org.eclipse.dltk.internal.core.index.sql.SqlSearchEngine.search(SqlSearchEngine.java:71)
at com.dubture.twig.core.model.TwigModelAccess.isTag(TwigModelAccess.java:305)
at com.dubture.twig.core.model.TwigModelAccess.isStartTag(TwigModelAccess.java:186)
at com.dubture.twig.core.model.TwigModelAccess.isTwigTag(TwigModelAccess.java:332)
at com.dubture.twig.core.documentModel.dom.ElementImplForTwig.isTwigTag(ElementImplForTwig.java:101)
at com.dubture.twig.core.documentModel.dom.ElementImplForTwig.getExistingAdapter(ElementImplForTwig.java:110)
at org.eclipse.wst.sse.core.internal.provisional.AbstractNotifier.getAdapterFor(AbstractNotifier.java:85)
at org.eclipse.wst.xml.ui.internal.contentoutline.JFaceNodeLabelProvider.getAdapter(JFaceNodeLabelProvider.java:40)
at org.eclipse.wst.xml.ui.internal.contentoutline.JFaceNodeLabelProvider.getText(JFaceNodeLabelProvider.java:66)
at org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML$1.getText(StructuredTextViewerConfigurationHTML.java:233)
at org.eclipse.wst.sse.ui.StructuredTextEditor.updateStatusLine(StructuredTextEditor.java:3512)
at org.eclipse.wst.sse.ui.StructuredTextEditor$11.selectionChanged(StructuredTextEditor.java:2320)
at org.eclipse.wst.sse.ui.StructuredTextEditor$4.run(StructuredTextEditor.java:592)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:590)
at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:671)
at org.eclipse.wst.sse.ui.StructuredTextEditor$3.selectionChanged(StructuredTextEditor.java:564)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749)
at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697)
at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676)
at org.eclipse.swt.widgets.Display.runTimer(Display.java:4266)
at org.eclipse.swt.widgets.Display.messageProc(Display.java:3353)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Session data:

eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fi_FI
Command-line arguments: -os win32 -ws win32 -arch x86