[JBoss JIRA] (FURNACE-97) A little exception in the forge log when shutting down forge from CLI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-97?page=com.atlassian.jira.plugin... ]
George Gastaldi moved FORGE-2547 to FURNACE-97:
-----------------------------------------------
Project: Forge: Furnace (was: Forge)
Key: FURNACE-97 (was: FORGE-2547)
Affects Version/s: 2.22.8.Final
(was: 3.0.0.Alpha2)
> A little exception in the forge log when shutting down forge from CLI
> ---------------------------------------------------------------------
>
> Key: FURNACE-97
> URL: https://issues.jboss.org/browse/FURNACE-97
> Project: Forge: Furnace
> Issue Type: Bug
> Affects Versions: 2.22.8.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> 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) A little exception in the forge log 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:
-----------------------------------
Fix Version/s: 2.22.9.Final
> A little exception in the forge log 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
[JBoss JIRA] (FURNACE-97) A little exception in the forge log 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:
-----------------------------------
Component/s: Container - CDI
> A little exception in the forge log 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
[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 a really annoying error and one of the worst problem with forge as addon developer. When an exception happens in forge's own callbacks like initializeUi / next() and whatnot then it happens that these exceptions are swallowed and some other weird errors happen or nothing happens in CLI / IDEA etc.
Maybe you can add more try .. catch around these spots where addon developers add their own code and do better validation if something is wrong, and make sure to log it too.
> 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 Claus Ibsen (JIRA)
Claus Ibsen created FORGE-2549:
----------------------------------
Summary: 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
Affects Versions: 3.0.0.Alpha2
Reporter: Claus Ibsen
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:
------------------------------------
The entire stracktrace is
{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)
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:497)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_c2571eee-14a3-454e-af9c-18361c1e0523.getInputs(CommandController_$$_javassist_c2571eee-14a3-454e-af9c-18361c1e0523.java)
at org.jboss.forge.plugin.idea.ui.wizard.ForgeWizardStep.prepare(ForgeWizardStep.java:68)
at com.intellij.ui.wizard.WizardModel.b(WizardModel.java:173)
at com.intellij.ui.wizard.WizardModel.a(WizardModel.java:91)
at com.intellij.ui.wizard.WizardModel.next(WizardModel.java:76)
at com.intellij.ui.wizard.WizardAction$Next.actionPerformed(WizardAction.java:46)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:792)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1638)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1587)
at org.jboss.forge.plugin.idea.ui.CommandListPopupBuilder.openWizard(CommandListPopupBuilder.java:224)
at org.jboss.forge.plugin.idea.ui.CommandListPopupBuilder.access$300(CommandListPopupBuilder.java:54)
at org.jboss.forge.plugin.idea.ui.CommandListPopupBuilder$3.run(CommandListPopupBuilder.java:173)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
{code}
Using IDEA 15.x
> 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)
Claus Ibsen created FORGE-2548:
----------------------------------
Summary: 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-2547) A little exception in the forge log when shutting down forge from CLI
by Claus Ibsen (JIRA)
Claus Ibsen created FORGE-2547:
----------------------------------
Summary: A little exception in the forge log when shutting down forge from CLI
Key: FORGE-2547
URL: https://issues.jboss.org/browse/FORGE-2547
Project: Forge
Issue Type: Bug
Affects Versions: 3.0.0.Alpha2
Reporter: Claus Ibsen
Priority: Minor
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] (FORGE-2546) Upgrade License in sources to 2016
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2546:
--------------------------------------
Summary: Upgrade License in sources to 2016
Key: FORGE-2546
URL: https://issues.jboss.org/browse/FORGE-2546
Project: Forge
Issue Type: Task
Components: Forge Build
Affects Versions: 3.0.0.Alpha2
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Minor
Fix For: 3.0.0.Alpha3
The logging.properties file in the forge disttro says
{{Copyright 2013-2014 Red Hat, Inc. and/or its affiliates.}}
The sources should be updated to 2016.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month