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

Forge: Cannot install Addon from catalog

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.12.0.Final
    • Fix Version/s: 4.13.0.AM1
    • Component/s: forge
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Start Forge
      Create new project with Forge
      Try to install Addon

      Show
      Start Forge Create new project with Forge Try to install Addon

      Description

      eclipse.buildId=12.12.0.GA-v20190628-0434-B4598
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.jboss.tools.forge.ui
      Error
      Mon Jul 01 09:05:38 CEST 2019
      Error logged from Forge Plugin:
      
      java.lang.RuntimeException: Error while fetching addons from main catalog
      	at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:70)
      	at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.AddonDescriptorCatalogRegistry.find(AddonDescriptorCatalogRegistry.java:46)
      	at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.ui.catalog.AddonInstallFromCatalogCommand.initializeUI(AddonInstallFromCatalogCommand.java:52)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      	at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.ui.catalog.AddonInstallFromCatalogCommand_$$_jvstc22_63.initializeUI(AddonInstallFromCatalogCommand_$$_jvstc22_63.java)
      	at org.jboss.forge.addon.ui:3.9.2.Final_02762095-bb06-4462-a4f0-fb0e06413b99//org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:61)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
      	at org.jboss.forge.addon.ui.controller.CommandController_$$_jvstaf5_2a.initialize(CommandController_$$_jvstaf5_2a.java)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:117)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:98)
      	at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:235)
      	at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:322)
      	at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:312)
      	at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents$6.mouseUp(QuickAccessContents.java:461)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4151)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3768)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
      Caused by: javax.json.JsonException: Cannot auto-detect encoding, not enough chars
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:131)
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:76)
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:76)
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:68)
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:131)
      	at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//javax.json.Json.createReader(Json.java:220)
      	at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:40)
      	... 55 more
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gastaldi George Gastaldi
                  Reporter:
                  jkopriva Josef Kopriva
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: