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

org.jboss.forge.addon.resource.ResourceException: [XMLResourceImpl] can have no children

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.0.Beta2
    • Fix Version/s: 4.2.0.Beta3
    • Component/s: forge
    • Labels:
      None

      Description

      I don't know what exactly is causing the errors, I just executed several forge commands using ctrl+4 and it appeared in the error log view.

      
      org.jboss.forge.addon.resource.ResourceException: [XMLResourceImpl] can have no children
      	at org.jboss.forge.addon.resource.AbstractFileResource.getChild(AbstractFileResource.java:74)
      	at org.jboss.forge.addon.maven.projects.MavenBuildSystemImpl.containsProject(MavenBuildSystemImpl.java:79)
      	at sun.reflect.GeneratedMethodAccessor180.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
      	at org.jboss.forge.addon.maven.projects.MavenBuildSystemImpl_$$_javassist_2ef05698-ee0b-4f50-97a7-611d084cc34e.containsProject(MavenBuildSystemImpl_$$_javassist_2ef05698-ee0b-4f50-97a7-611d084cc34e.java)
      	at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.containsProject(ProjectFactoryImpl.java:572)
      	at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.containsProject(ProjectFactoryImpl.java:556)
      	at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
      	at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl_$$_javassist_7b8266a4-0597-4d12-a53c-efbca1e75b33.containsProject(ProjectFactoryImpl_$$_javassist_7b8266a4-0597-4d12-a53c-efbca1e75b33.java)
      	at org.jboss.forge.addon.projects.Projects.containsProject(Projects.java:50)
      	at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.containsProject(AbstractProjectCommand.java:59)
      	at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.isEnabled(AbstractProjectCommand.java:36)
      	at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
      	at org.jboss.forge.addon.javaee.cdi.ui.NewQualifierCommand_$$_javassist_ff4a89e6-11cc-4166-b820-46866eca4644.isEnabled(NewQualifierCommand_$$_javassist_ff4a89e6-11cc-4166-b820-46866eca4644.java)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:103)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:76)
      	at org.jboss.forge.addon.ui.command.UICommand_$$_javassist_d71f54b7-b518-46a9-aff6-65a13c430868.isEnabled(UICommand_$$_javassist_d71f54b7-b518-46a9-aff6-65a13c430868.java)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.getAllCandidatesAsList(WizardDialogHelper.java:64)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog.getProviders(UICommandListDialog.java:194)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog.access$1(UICommandListDialog.java:190)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1.run(UICommandListDialog.java:134)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog.createDialogArea(UICommandListDialog.java:123)
      	at org.eclipse.jface.dialogs.PopupDialog.createContents(PopupDialog.java:715)
      	at org.eclipse.jface.window.Window.create(Window.java:435)
      	at org.eclipse.jface.dialogs.PopupDialog.open(PopupDialog.java:1159)
      	at org.jboss.tools.forge.ui.internal.ext.handlers.ForgeCommandHandler.execute(ForgeCommandHandler.java:39)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	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:1574)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1387)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
      	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1424)
      	at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:824)
      	at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3269)
      	at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:777)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5506)
      	at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:3531)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4676)
      	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9074)
      	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
      	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3414)
      	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:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
      	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(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	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)
      Caused by: org.jboss.forge.addon.resource.ResourceException: [XMLResourceImpl] can have no children
      	... 106 more
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  koen.aers Koen Aers
                  Reporter:
                  psrna Pavol Srna
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: