[jboss-user] [JBoss Tools (users)] - Problem with freemarker plugin
dinger55
do-not-reply at jboss.com
Tue Apr 15 10:35:03 EDT 2008
I get the following stack trace when I try to open a file in eclipse using the freemarker plugin:
!ENTRY org.eclipse.ui.workbench 4 2 2008-04-15 15:28:57.770
| !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
| !STACK 0
| java.lang.NullPointerException
| at org.jboss.ide.eclipse.freemarker.model.ItemSet.<init>(ItemSet.java:56)
| at org.jboss.ide.eclipse.freemarker.editor.Editor.getItemSet(Editor.java:271)
| at org.jboss.ide.eclipse.freemarker.outline.OutlinePage.update(OutlinePage.java:119)
| at org.jboss.ide.eclipse.freemarker.outline.OutlinePage.setInput(OutlinePage.java:93)
| at org.jboss.ide.eclipse.freemarker.editor.Editor.getAdapter(Editor.java:106)
| at org.jboss.ide.eclipse.freemarker.editor.FreemarkerMultiPageEditor.getAdapter(FreemarkerMultiPageEditor.java:344)
| at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(ViewsPlugin.java:103)
| at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:129)
| at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:399)
| at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:741)
| at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:210)
| at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
| at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
| at org.eclipse.core.runtime.Platform.run(Platform.java:857)
| at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
| at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
| at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:87)
| at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:75)
| at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:51)
| at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:152)
| at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1224)
| at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3395)
| at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:611)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2748)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
| at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
| at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
| at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
| at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1090)
| at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:105)
| at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:75)
| at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
| at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
| at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
| at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
| at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
| at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
| at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
| at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
| at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
| at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
| at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
| at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
| at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
| 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:508)
| at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
| at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Any ideas?
Rob
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144246#4144246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144246
More information about the jboss-user
mailing list