[JBoss JIRA] (FORGE-2548) Better error message what is wrong in a custom wizard for addon developers
by Claus Ibsen (JIRA)
[ https://issues.jboss.org/browse/FORGE-2548?page=com.atlassian.jira.plugin... ]
Claus Ibsen commented on FORGE-2548:
------------------------------------
Okay tracking this down, if I do not set required=true on any of the inputs I can get it to work.
> Better error message what is wrong in a custom wizard for addon developers
> --------------------------------------------------------------------------
>
> Key: FORGE-2548
> URL: https://issues.jboss.org/browse/FORGE-2548
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
>
> When you develop custom addon's then various things can go wrong. And whether the command runs in CLI or IDEA or Eclipse then it works a little bit differently.
> I have a command wizard that fails with this cryptic index out of bounds exception. I finally found the stracktrace in idea.log file, as IDEA itself says nothing
> {code}
> 2015-12-08 10:45:34,976 [ 148775] ERROR - llij.ide.plugins.PluginManager - Index: 2, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:491)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:502)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getInputs(WizardCommandControllerImpl.java:244)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.getInputs(NoUIWizardControllerDecorator.java:189)
> {code}
> As all the stacktrace is purely in forge code, I cannot really see what I do wrong.
> Can you guys improve that part of the code that has the index out of bounds and do a better exception message that can help me what is the problem / as well other addon developers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2548) Better error message what is wrong in a custom wizard for addon developers
by Claus Ibsen (JIRA)
[ https://issues.jboss.org/browse/FORGE-2548?page=com.atlassian.jira.plugin... ]
Claus Ibsen commented on FORGE-2548:
------------------------------------
Some of the other camel components work fine, usually with fewer options such as ahc (the first one).
But the ones with many options like jms, file, netty4-http fails. I suspect its related maybe to a dodgy UIInput that somehow causes something internally in IDEA to fail etc. There was once a problem with UISelectOne type (from enum) that the value choice and the default value was not 100% identical. eg different in lower vs upper case in a String etc. Also maybe a UISelectOne must it have a defaultValue set?
> Better error message what is wrong in a custom wizard for addon developers
> --------------------------------------------------------------------------
>
> Key: FORGE-2548
> URL: https://issues.jboss.org/browse/FORGE-2548
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
>
> When you develop custom addon's then various things can go wrong. And whether the command runs in CLI or IDEA or Eclipse then it works a little bit differently.
> I have a command wizard that fails with this cryptic index out of bounds exception. I finally found the stracktrace in idea.log file, as IDEA itself says nothing
> {code}
> 2015-12-08 10:45:34,976 [ 148775] ERROR - llij.ide.plugins.PluginManager - Index: 2, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:491)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:502)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getInputs(WizardCommandControllerImpl.java:244)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.getInputs(NoUIWizardControllerDecorator.java:189)
> {code}
> As all the stacktrace is purely in forge code, I cannot really see what I do wrong.
> Can you guys improve that part of the code that has the index out of bounds and do a better exception message that can help me what is the problem / as well other addon developers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2549) WARN in idea.log when starting up JBoss Forge plugin
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2549?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2549.
----------------------------------
Fix Version/s: (was: 3.x Future)
Assignee: George Gastaldi
Resolution: Done
> WARN in idea.log when starting up JBoss Forge plugin
> ----------------------------------------------------
>
> Key: FORGE-2549
> URL: https://issues.jboss.org/browse/FORGE-2549
> Project: Forge
> Issue Type: Enhancement
> Components: UI - IntelliJ IDEA
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Priority: Minor
>
> Notice these in the idea.log file when JBoss Forge is started when you press cmd + alt 4.
> {code}
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:08,943 [ 70383] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,662 [ 72102] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,685 [ 72125] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,827 [ 72267] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,861 [ 72301] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,251 [ 79691] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,252 [ 79692] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> {code}
> The idea.log file is located on my computer at:
> {code}
> ./Library/Logs/IntelliJIdea15/idea.log
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2548) Better error message what is wrong in a custom wizard for addon developers
by Claus Ibsen (JIRA)
[ https://issues.jboss.org/browse/FORGE-2548?page=com.atlassian.jira.plugin... ]
Claus Ibsen commented on FORGE-2548:
------------------------------------
This is the command used in the example
https://github.com/fabric8io/fabric8/blob/master/forge/addons/camel/src/m...
We hit some issues with forge in terms of building the wizard with dynamic number of steps, and the problem with its numerous callbacks to next / execute. So we had to be a bit creative to get it working
https://github.com/fabric8io/fabric8/blob/master/forge/addons/camel/src/m...
> Better error message what is wrong in a custom wizard for addon developers
> --------------------------------------------------------------------------
>
> Key: FORGE-2548
> URL: https://issues.jboss.org/browse/FORGE-2548
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
>
> When you develop custom addon's then various things can go wrong. And whether the command runs in CLI or IDEA or Eclipse then it works a little bit differently.
> I have a command wizard that fails with this cryptic index out of bounds exception. I finally found the stracktrace in idea.log file, as IDEA itself says nothing
> {code}
> 2015-12-08 10:45:34,976 [ 148775] ERROR - llij.ide.plugins.PluginManager - Index: 2, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:491)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:502)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getInputs(WizardCommandControllerImpl.java:244)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.getInputs(NoUIWizardControllerDecorator.java:189)
> {code}
> As all the stacktrace is purely in forge code, I cannot really see what I do wrong.
> Can you guys improve that part of the code that has the index out of bounds and do a better exception message that can help me what is the problem / as well other addon developers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2548) Better error message what is wrong in a custom wizard for addon developers
by Claus Ibsen (JIRA)
[ https://issues.jboss.org/browse/FORGE-2548?page=com.atlassian.jira.plugin... ]
Claus Ibsen commented on FORGE-2548:
------------------------------------
Thanks [~gastaldi]
I created a Camel project on github with a readme with instructions
https://github.com/davsclaus/foo
In the next 2.2.73 release we have split up the camel commands into 2 addons. The addon named camel is the one that has this issue reported here, and its source is here: https://github.com/fabric8io/fabric8/tree/master/forge/addons/camel
> Better error message what is wrong in a custom wizard for addon developers
> --------------------------------------------------------------------------
>
> Key: FORGE-2548
> URL: https://issues.jboss.org/browse/FORGE-2548
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
>
> When you develop custom addon's then various things can go wrong. And whether the command runs in CLI or IDEA or Eclipse then it works a little bit differently.
> I have a command wizard that fails with this cryptic index out of bounds exception. I finally found the stracktrace in idea.log file, as IDEA itself says nothing
> {code}
> 2015-12-08 10:45:34,976 [ 148775] ERROR - llij.ide.plugins.PluginManager - Index: 2, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:491)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:502)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getInputs(WizardCommandControllerImpl.java:244)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.getInputs(NoUIWizardControllerDecorator.java:189)
> {code}
> As all the stacktrace is purely in forge code, I cannot really see what I do wrong.
> Can you guys improve that part of the code that has the index out of bounds and do a better exception message that can help me what is the problem / as well other addon developers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2549) WARN in idea.log when starting up JBoss Forge plugin
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2549?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2549:
-----------------------------------
Fix Version/s: 3.x Future
> WARN in idea.log when starting up JBoss Forge plugin
> ----------------------------------------------------
>
> Key: FORGE-2549
> URL: https://issues.jboss.org/browse/FORGE-2549
> Project: Forge
> Issue Type: Enhancement
> Components: UI - IntelliJ IDEA
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 3.x Future
>
>
> Notice these in the idea.log file when JBoss Forge is started when you press cmd + alt 4.
> {code}
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:08,943 [ 70383] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,662 [ 72102] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,685 [ 72125] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,827 [ 72267] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,861 [ 72301] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,251 [ 79691] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,252 [ 79692] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> {code}
> The idea.log file is located on my computer at:
> {code}
> ./Library/Logs/IntelliJIdea15/idea.log
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2549) WARN in idea.log when starting up JBoss Forge plugin
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2549?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2549:
-----------------------------------
Component/s: UI - IntelliJ IDEA
> WARN in idea.log when starting up JBoss Forge plugin
> ----------------------------------------------------
>
> Key: FORGE-2549
> URL: https://issues.jboss.org/browse/FORGE-2549
> Project: Forge
> Issue Type: Enhancement
> Components: UI - IntelliJ IDEA
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 3.x Future
>
>
> Notice these in the idea.log file when JBoss Forge is started when you press cmd + alt 4.
> {code}
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:26:39,671 [ 41111] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:08,943 [ 70383] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,662 [ 72102] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,685 [ 72125] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,827 [ 72267] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,860 [ 72300] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:10,861 [ 72301] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,251 [ 79691] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.ForgeService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> 2015-12-08 11:27:18,252 [ 79692] WARN - napi.components.ServiceManager - org.jboss.forge.plugin.idea.service.PluginService requested as a service, but it is a component - convert it to a service or change call to ApplicationManager.getApplication().getComponent()
> {code}
> The idea.log file is located on my computer at:
> {code}
> ./Library/Logs/IntelliJIdea15/idea.log
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FORGE-2548) Better error message what is wrong in a custom wizard for addon developers
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2548?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2548:
----------------------------------------
Hi Claus,
This sure looks annoying. How can I reproduce this error?
Thanks
> Better error message what is wrong in a custom wizard for addon developers
> --------------------------------------------------------------------------
>
> Key: FORGE-2548
> URL: https://issues.jboss.org/browse/FORGE-2548
> Project: Forge
> Issue Type: Enhancement
> Affects Versions: 3.0.0.Alpha2
> Reporter: Claus Ibsen
>
> When you develop custom addon's then various things can go wrong. And whether the command runs in CLI or IDEA or Eclipse then it works a little bit differently.
> I have a command wizard that fails with this cryptic index out of bounds exception. I finally found the stracktrace in idea.log file, as IDEA itself says nothing
> {code}
> 2015-12-08 10:45:34,976 [ 148775] ERROR - llij.ide.plugins.PluginManager - Index: 2, Size: 2
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:491)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:502)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getInputs(WizardCommandControllerImpl.java:244)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.getInputs(NoUIWizardControllerDecorator.java:189)
> {code}
> As all the stacktrace is purely in forge code, I cannot really see what I do wrong.
> Can you guys improve that part of the code that has the index out of bounds and do a better exception message that can help me what is the problem / as well other addon developers.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-97) Furnace fails with an UnsupportedOperationException when shutting down forge from CLI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-97?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FURNACE-97.
----------------------------------
Assignee: George Gastaldi
Resolution: Done
> Furnace fails with an UnsupportedOperationException when shutting down forge from CLI
> -------------------------------------------------------------------------------------
>
> Key: FURNACE-97
> URL: https://issues.jboss.org/browse/FURNACE-97
> Project: Forge: Furnace
> Issue Type: Bug
> Components: Container - CDI
> Affects Versions: 2.22.8.Final
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.22.9.Final
>
>
> Seeing this in the forge.log when shutting down
> {code}
> 10:42:55,205 FINE [org.jboss.forge.furnace.util.ClassLoaders] (main) ClassLoader [ModuleClassLoader for Module "org.jboss.forge.addon.parser-java:3.0.0.Alpha2_1565d986-d058-44c8-bec4-30c7232edd5d" from AddonModuleLoader] task ended.
> 10:42:55,205 FINE [org.jboss.forge.furnace.impl.addons.AddonRunnable] (main) Failed to shut down addon org.jboss.forge.addon:parser-java,3.0.0.Alpha2: java.lang.UnsupportedOperationException
> at java.util.Collections$UnmodifiableCollection.clear(Collections.java:1074) [rt.jar:1.8.0_31]
> at org.jboss.forge.furnace.container.cdi.impl.WeldServiceRegistry.close(WeldServiceRegistry.java:260)
> at org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider.stop(WeldAddonLifecycleProvider.java:135)
> at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:195) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:167) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonRunnable.shutdown(AddonRunnable.java:166) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonStateManager.cancel(AddonStateManager.java:248) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:35) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:18) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.util.Callables.call(Callables.java:43) [furnace-api-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAddon(AddonLifecycleManager.java:257) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:283) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:275) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAll(AddonLifecycleManager.java:274) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:306) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:215) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:295) [forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
> at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:96) [forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (FURNACE-97) Furnace fails with an UnsupportedOperationException when shutting down forge from CLI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-97?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FURNACE-97:
-----------------------------------
Summary: Furnace fails with an UnsupportedOperationException when shutting down forge from CLI (was: A little exception in the forge log when shutting down forge from CLI)
> Furnace fails with an UnsupportedOperationException when shutting down forge from CLI
> -------------------------------------------------------------------------------------
>
> Key: FURNACE-97
> URL: https://issues.jboss.org/browse/FURNACE-97
> Project: Forge: Furnace
> Issue Type: Bug
> Components: Container - CDI
> Affects Versions: 2.22.8.Final
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 2.22.9.Final
>
>
> Seeing this in the forge.log when shutting down
> {code}
> 10:42:55,205 FINE [org.jboss.forge.furnace.util.ClassLoaders] (main) ClassLoader [ModuleClassLoader for Module "org.jboss.forge.addon.parser-java:3.0.0.Alpha2_1565d986-d058-44c8-bec4-30c7232edd5d" from AddonModuleLoader] task ended.
> 10:42:55,205 FINE [org.jboss.forge.furnace.impl.addons.AddonRunnable] (main) Failed to shut down addon org.jboss.forge.addon:parser-java,3.0.0.Alpha2: java.lang.UnsupportedOperationException
> at java.util.Collections$UnmodifiableCollection.clear(Collections.java:1074) [rt.jar:1.8.0_31]
> at org.jboss.forge.furnace.container.cdi.impl.WeldServiceRegistry.close(WeldServiceRegistry.java:260)
> at org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider.stop(WeldAddonLifecycleProvider.java:135)
> at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:195) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:167) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonRunnable.shutdown(AddonRunnable.java:166) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonStateManager.cancel(AddonStateManager.java:248) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:35) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:18) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.util.Callables.call(Callables.java:43) [furnace-api-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAddon(AddonLifecycleManager.java:257) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:283) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:275) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAll(AddonLifecycleManager.java:274) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:306) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:215) [furnace-2.22.8.Final.jar:2.22.8.Final]
> at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:295) [forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
> at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:96) [forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month