Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1748

Furnace CLAC Whitelist throws NPE if accessed after removing an addon

    Details

      Description

      java.lang.RuntimeException: Could not retrieve ClassLoader whitelist from callback [org.jboss.forge.furnace.se.FurnaceFactory$1@2cac5f1].
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.whitelistContainsAll(ClassLoaderAdapterCallback.java:447)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:698)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceResult(ClassLoaderAdapterCallback.java:253)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$300(ClassLoaderAdapterCallback.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:99)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:71)
      	at org.jboss.forge.furnace.Furnace_$$_javassist_27c4dccd-5099-4709-8e50-7d86062d7924.getAddonRegistry(Furnace_$$_javassist_27c4dccd-5099-4709-8e50-7d86062d7924.java)
      	at org.jboss.tools.forge.ext.core.FurnaceService.lookup(FurnaceService.java:83)
      	at org.jboss.tools.forge.ext.core.FurnaceService.getConverterFactory(FurnaceService.java:60)
      	at org.jboss.tools.forge.ui.ext.context.UIContextImpl.<init>(UIContextImpl.java:49)
      	at org.jboss.tools.forge.ui.ext.dialog.WizardDialogHelper.<init>(WizardDialogHelper.java:50)
      	at org.jboss.tools.forge.ui.ext.dialog.UICommandListDialog.<init>(UICommandListDialog.java:65)
      	at org.jboss.tools.forge.ui.ext.handlers.ForgeCommandHandler.execute(ForgeCommandHandler.java:39)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      	at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
      	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:56)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
      	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:213)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322)
      	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1080)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4165)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
      	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1503)
      	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1499)
      	at org.eclipse.swt.widgets.Tree.sendKeyEvent(Tree.java:2572)
      	at org.eclipse.swt.widgets.Control.keyDown(Control.java:2396)
      	at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:607)
      	at org.eclipse.swt.widgets.Tree.keyDown(Tree.java:1971)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5558)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
      	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2104)
      	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2318)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5620)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5057)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5206)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3648)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      	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:354)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      	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:636)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      Caused by: java.lang.NullPointerException
      	at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
      	at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1125)
      	at java.util.Collections$SetFromMap.add(Collections.java:3903)
      	at org.jboss.forge.furnace.se.FurnaceFactory$1.call(FurnaceFactory.java:61)
      	at org.jboss.forge.furnace.se.FurnaceFactory$1.call(FurnaceFactory.java:45)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.whitelistContainsAll(ClassLoaderAdapterCallback.java:437)
      	... 78 more
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lincolnthree Lincoln Baxter III
                Reporter:
                lincolnthree Lincoln Baxter III
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: