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

Errors when creating dynamic web project

    Details

      Description

      I am getting errors when creating dynamic web project in fresh workspace:

      org.osgi.framework.BundleException: The activator org.jboss.tools.ws.jaxrs.ui.JBossJaxrsUIPlugin for bundle org.jboss.tools.ws.jaxrs.ui is invalid
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:172)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.loadClass(PluginUtil.java:197)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.instantiate(PluginUtil.java:250)
      	at org.eclipse.wst.common.project.facet.core.events.internal.DelayedClassLoadingListener.handleEvent(DelayedClassLoadingListener.java:51)
      	at org.eclipse.wst.common.project.facet.core.events.internal.ProjectListenerRegistry.notifyListeners(ProjectListenerRegistry.java:76)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.notifyListeners(FacetedProject.java:1327)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:454)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
      	at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: java.lang.NullPointerException
      	at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:152)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:124)
      	at org.jboss.tools.ws.jaxrs.ui.JBossJaxrsUIPlugin.<init>(JBossJaxrsUIPlugin.java:41)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      	at java.lang.Class.newInstance0(Class.java:372)
      	at java.lang.Class.newInstance(Class.java:325)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167)
      	... 35 more
      Root exception:
      java.lang.NullPointerException
      	at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:152)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:124)
      	at org.jboss.tools.ws.jaxrs.ui.JBossJaxrsUIPlugin.<init>(JBossJaxrsUIPlugin.java:41)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      	at java.lang.Class.newInstance0(Class.java:372)
      	at java.lang.Class.newInstance(Class.java:325)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.loadClass(PluginUtil.java:197)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.instantiate(PluginUtil.java:250)
      	at org.eclipse.wst.common.project.facet.core.events.internal.DelayedClassLoadingListener.handleEvent(DelayedClassLoadingListener.java:51)
      	at org.eclipse.wst.common.project.facet.core.events.internal.ProjectListenerRegistry.notifyListeners(ProjectListenerRegistry.java:76)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.notifyListeners(FacetedProject.java:1327)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:454)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
      	at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      
      

      and:

      org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.jboss.tools.ws.jaxrs.ui (2067).
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
      	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
      	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.loadClass(PluginUtil.java:197)
      	at org.eclipse.wst.common.project.facet.core.util.internal.PluginUtil.instantiate(PluginUtil.java:250)
      	at org.eclipse.wst.common.project.facet.core.events.internal.DelayedClassLoadingListener.handleEvent(DelayedClassLoadingListener.java:51)
      	at org.eclipse.wst.common.project.facet.core.events.internal.ProjectListenerRegistry.notifyListeners(ProjectListenerRegistry.java:76)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.notifyListeners(FacetedProject.java:1327)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:454)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
      	at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: org.osgi.framework.BundleException: The activator org.jboss.tools.ws.jaxrs.ui.JBossJaxrsUIPlugin for bundle org.jboss.tools.ws.jaxrs.ui is invalid
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:172)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
      	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
      	... 29 more
      Caused by: java.lang.NullPointerException
      	at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:207)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:152)
      	at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:124)
      	at org.jboss.tools.ws.jaxrs.ui.JBossJaxrsUIPlugin.<init>(JBossJaxrsUIPlugin.java:41)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      	at java.lang.Class.newInstance0(Class.java:372)
      	at java.lang.Class.newInstance(Class.java:325)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:167)
      	... 35 more
      

      This bug results to inability to use jaxrs support.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                xcoulon Xavier Coulon
                Reporter:
                jjankovi Jaroslav Jankovič
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: