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

Install Addon from Catalog does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.5.3.AM1
    • 4.5.3.AM1
    • forge
    • None

      An error is shown when I try to install addon from catalog:

      eclipse.buildId=11.3.0.AM1-v20180209-1312-B2027
      java.version=1.8.0_161
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B2027_11.3.AM1_3/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.jboss.tools.forge.ui
      Error
      Mon Feb 12 15:02:07 CET 2018
      Error logged from Forge Plugin:
      
      java.lang.RuntimeException: Error while fetching addons from main catalog
      	at org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:70)
      	at org.jboss.forge.addon.manager.impl.catalog.AddonDescriptorCatalogRegistry.find(AddonDescriptorCatalogRegistry.java:46)
      	at org.jboss.forge.addon.manager.impl.ui.catalog.AddonInstallFromCatalogCommand.initializeUI(AddonInstallFromCatalogCommand.java:52)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	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.manager.impl.ui.catalog.AddonInstallFromCatalogCommand_$$_javassist_c4e00c13-ada8-4e89-8c57-60a8de464c36.initializeUI(AddonInstallFromCatalogCommand_$$_javassist_c4e00c13-ada8-4e89-8c57-60a8de464c36.java)
      	at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:61)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	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_$$_javassist_8c208de8-e0c7-4236-91e3-a06a3dfcd2ed.initialize(CommandController_$$_javassist_8c208de8-e0c7-4236-91e3-a06a3dfcd2ed.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:221)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      Caused by: javax.json.JsonException: Cannot auto-detect encoding, not enough chars
      	at org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:131)
      	at org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:76)
      	at org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:76)
      	at org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:68)
      	at org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:131)
      	at javax.json.Json.createReader(Json.java:220)
      	at org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:40)
      	... 53 more
      
      

              rhn-support-ggastald George Gastaldi
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: