Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17634

NPE when selecting templates in project properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.2.0.Beta2
    • 4.2.0.Beta1
    • common
    • None
    • Hide

      What steps will reproduce the problem?
      1. Click on the Project Properties > Templates
      2. NPE

      Show
      What steps will reproduce the problem? 1. Click on the Project Properties > Templates 2. NPE

      Straight from the eclipse reporter:

      -- Error Details --
      Date: Tue Jun 17 22:21:24 BST 2014
      Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      Severity: Error
      Product: Eclipse 4.4.0.20140507-1817 (org.eclipse.epp.package.jee.product)
      Plugin: org.eclipse.jface
      Session Data:
      eclipse.buildId=4.4.0.I20140515-1230
      java.version=1.8.0
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      Exception Stack Trace:
      java.lang.NullPointerException
      	at org.jboss.tools.common.model.ui.templates.configuration.MetaConfigurationLoader.loadConfiguration(MetaConfigurationLoader.java:91)
      	at org.jboss.tools.common.model.ui.templates.configuration.MetaConfigurationLoader.loadProjectConfiguration(MetaConfigurationLoader.java:56)
      	at org.jboss.tools.common.model.ui.templates.configuration.MetaConfigurationManager.createProjectConfiguration(MetaConfigurationManager.java:84)
      	at org.jboss.tools.common.model.ui.templates.configuration.MetaConfigurationManager.getProjectConfiguration(MetaConfigurationManager.java:48)
      	at org.jboss.tools.common.model.ui.templates.preferences.ProjectTemplatePreferencePage.setElement(ProjectTemplatePreferencePage.java:52)
      	at org.eclipse.ui.internal.dialogs.RegistryPageContributor.createPage(RegistryPageContributor.java:167)
      	at org.eclipse.ui.internal.dialogs.PropertyPageNode.createPage(PropertyPageNode.java:57)
      	at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1372)
      	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:385)
      	at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1259)
      	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:699)
      	at org.eclipse.jface.preference.PreferenceDialog$9$1.run(PreferenceDialog.java:730)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:725)
      	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:876)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
      	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:873)
      	at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1217)
      	at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1243)
      	at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:265)
      	at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:259)
      	at org.eclipse.jface.util.OpenStrategy$1$2.run(OpenStrategy.java:440)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      	at org.eclipse.jface.window.Window.open(Window.java:808)
      	at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:160)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      	at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)
      	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1112)
      	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
      	at org.eclipse.swt.widgets.Widget.wmSysChar(Widget.java:2456)
      	at org.eclipse.swt.widgets.Control.WM_SYSCHAR(Control.java:5263)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4686)
      	at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6024)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5024)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
      	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:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      

              scabanovich Viacheslav Kabanovich (Inactive)
              mr_and_mrs_d Palmer Eldritch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: