[JBoss JIRA] (ROASTER-78) Trying to get class value from AnnotationSource returns null. Only getLiteralValue returns value != null
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-78?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-78:
-----------------------------------
Summary: Trying to get class value from AnnotationSource returns null. Only getLiteralValue returns value != null (was: trying to get Clas value from AnnotationSource returns null. Only getLiteralValue returns value != null)
> Trying to get class value from AnnotationSource returns null. Only getLiteralValue returns value != null
> --------------------------------------------------------------------------------------------------------
>
> Key: ROASTER-78
> URL: https://issues.jboss.org/browse/ROASTER-78
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.15.0.Final
> Environment: Windows, forge 2.17.1
> Reporter: Doychin Bondzhev
> Priority: Blocker
>
> If I want to get the class value for annotation that I get like this:
> AnnotationSource<JavaClassSource> idClassAnotation = entityClass
> .getAnnotation(IdClass.class);
> I can only get it from getLiteralValue method and it returns the simple name of the class + .class
> All other methods produce null
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (ROASTER-78) trying to get Clas value from AnnotationSource returns null. Only getLiteralValue returns value != null
by Doychin Bondzhev (JIRA)
Doychin Bondzhev created ROASTER-78:
---------------------------------------
Summary: trying to get Clas value from AnnotationSource returns null. Only getLiteralValue returns value != null
Key: ROASTER-78
URL: https://issues.jboss.org/browse/ROASTER-78
Project: Roaster
Issue Type: Bug
Components: API
Affects Versions: 2.15.0.Final
Environment: Windows, forge 2.17.1
Reporter: Doychin Bondzhev
Priority: Blocker
If I want to get the class value for annotation that I get like this:
AnnotationSource<JavaClassSource> idClassAnotation = entityClass
.getAnnotation(IdClass.class);
I can only get it from getLiteralValue method and it returns the simple name of the class + .class
All other methods produce null
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (FORGE-2442) Upgrade to Furnace 2.21.0.Final
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2442:
--------------------------------------
Summary: Upgrade to Furnace 2.21.0.Final
Key: FORGE-2442
URL: https://issues.jboss.org/browse/FORGE-2442
Project: Forge
Issue Type: Component Upgrade
Components: Furnace (Container), Furnace CDI, Furnace Simple
Affects Versions: 2.17.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.18.0.Final
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (FORGE-2441) Exception in log while shutting down
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2441?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2441.
----------------------------------
Resolution: Done
> Exception in log while shutting down
> ------------------------------------
>
> Key: FORGE-2441
> URL: https://issues.jboss.org/browse/FORGE-2441
> Project: Forge
> Issue Type: Quality Risk
> Components: UI - Shell
> Affects Versions: 2.17.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Optional
> Fix For: 2.18.0.Final
>
>
> While shutting down, the following exception is displayed in the logs:
> {code}
> 12:47:05,228 SEVERE [org.jboss.forge.addon.ui.impl.controller.AbstractCommandController] (Aesh Process Loop 724826075) Error while notifying listeners: java.lang.IllegalStateException: Cannot access this method until Furnace is running. Call .start() or .startAsync() first.
> at org.jboss.forge.furnace.impl.FurnaceImpl.assertIsAlive(FurnaceImpl.java:504) [furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
> at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:350) [furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
> at org.jboss.forge.addon.resource.ResourceFactoryImpl.getAddonRegistry(ResourceFactoryImpl.java:136) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.resource.ResourceFactoryImpl.getGenerators(ResourceFactoryImpl.java:69) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.resource.ResourceFactoryImpl.create(ResourceFactoryImpl.java:47) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.resource.AbstractFileResource.getParent(AbstractFileResource.java:66) [resources-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:168) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:25) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.allDirectoriesOnPath(ProjectFactoryImpl.java:187) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:126) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:107) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:40) [projects-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:41) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_51]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_51]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
> at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.java) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144) [ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94) [ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98) [shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.forge.addon.shell.ShellImpl$ForgeInterruptHook.handleInterrupt(ShellImpl.java:325) [shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
> at org.jboss.aesh.console.Console$3.handleInterrupt(Console.java:235) [aesh-0.61.jar:0.61]
> at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:179) [aesh-0.61.jar:0.61]
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:698) [aesh-0.61.jar:0.61]
> at org.jboss.aesh.console.Console.execute(Console.java:688) [aesh-0.61.jar:0.61]
> at org.jboss.aesh.console.Console.access$1000(Console.java:73) [aesh-0.61.jar:0.61]
> at org.jboss.aesh.console.Console$6.run(Console.java:593) [aesh-0.61.jar:0.61]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (FORGE-2441) Exception in log while shutting down
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2441:
--------------------------------------
Summary: Exception in log while shutting down
Key: FORGE-2441
URL: https://issues.jboss.org/browse/FORGE-2441
Project: Forge
Issue Type: Quality Risk
Components: UI - Shell
Affects Versions: 2.17.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Optional
Fix For: 2.18.0.Final
While shutting down, the following exception is displayed in the logs:
{code}
12:47:05,228 SEVERE [org.jboss.forge.addon.ui.impl.controller.AbstractCommandController] (Aesh Process Loop 724826075) Error while notifying listeners: java.lang.IllegalStateException: Cannot access this method until Furnace is running. Call .start() or .startAsync() first.
at org.jboss.forge.furnace.impl.FurnaceImpl.assertIsAlive(FurnaceImpl.java:504) [furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.furnace.impl.FurnaceImpl.getAddonRegistry(FurnaceImpl.java:350) [furnace-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.addon.resource.ResourceFactoryImpl.getAddonRegistry(ResourceFactoryImpl.java:136) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.ResourceFactoryImpl.getGenerators(ResourceFactoryImpl.java:69) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.ResourceFactoryImpl.create(ResourceFactoryImpl.java:47) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.AbstractFileResource.getParent(AbstractFileResource.java:66) [resources-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:168) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.resource.DirectoryResourceImpl.getParent(DirectoryResourceImpl.java:25) [resources-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.allDirectoriesOnPath(ProjectFactoryImpl.java:187) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:126) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:107) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:40) [projects-api-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:41) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_51]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.20.2-SNAPSHOT.jar:2.20.2-SNAPSHOT]
at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_dcd80bb2-ba56-473a-b0e5-9935fef000c6.java) [projects-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144) [ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94) [ui-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98) [shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.forge.addon.shell.ShellImpl$ForgeInterruptHook.handleInterrupt(ShellImpl.java:325) [shell-impl-2.17.1-SNAPSHOT.jar:2.17.1-SNAPSHOT]
at org.jboss.aesh.console.Console$3.handleInterrupt(Console.java:235) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:179) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:698) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.execute(Console.java:688) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console.access$1000(Console.java:73) [aesh-0.61.jar:0.61]
at org.jboss.aesh.console.Console$6.run(Console.java:593) [aesh-0.61.jar:0.61]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (FORGE-2440) AbstractJavaSourceCommand should not depend on CDI
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2440:
--------------------------------------
Summary: AbstractJavaSourceCommand should not depend on CDI
Key: FORGE-2440
URL: https://issues.jboss.org/browse/FORGE-2440
Project: Forge
Issue Type: Enhancement
Components: Parsers / File Manipulation
Affects Versions: 2.17.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.17.1.Final
AbstractJavaSourceCommand uses @Inject for their inputs and ProjectFactory. Should be refactor to not implement the getProjectFactory() (that's up to the container the addon implementing a command uses) and use {{UIBuilder.getInputComponentFactory()}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months