[JBoss JIRA] (FORGE-2197) Last executed contextual command throws exceptions if NetBeans current selection is now empty
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-2197:
-----------------------------------------
Summary: Last executed contextual command throws exceptions if NetBeans current selection is now empty
Key: FORGE-2197
URL: https://issues.jboss.org/browse/FORGE-2197
Project: Forge
Issue Type: Bug
Components: UI - NetBeans
Reporter: Lincoln Baxter III
Steps to reproduce:
1) Create a new project.
2) Run jpa-new-entity to completion
3) Click in the netbeans console to de-select the current project
4) Re-run the recent command.
{code}
java.lang.IllegalStateException: A project is required in the current context
at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:78)
at org.jboss.forge.addon.javaee.jpa.ui.NewEntityCommand.getPrerequisiteCommands(NewEntityCommand.java:180)
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:483)
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.javaee.jpa.ui.NewEntityCommand_$$_javassist_73d82bc3-9364-472f-ae42-a4f721539d5a.getPrerequisiteCommands(NewEntityCommand_$$_javassist_73d82bc3-9364-472f-ae42-a4f721539d5a.java)
at org.jboss.forge.addon.ui.impl.command.PrerequisiteCommandTransformer.transform(PrerequisiteCommandTransformer.java:42)
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:483)
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.ui.impl.command.PrerequisiteCommandTransformer_$$_javassist_4994e213-2fab-45ce-9075-494ac1106ed0.transform(PrerequisiteCommandTransformer_$$_javassist_4994e213-2fab-45ce-9075-494ac1106ed0.java)
at org.jboss.forge.addon.ui.impl.controller.CommandControllerFactoryImpl.transform(CommandControllerFactoryImpl.java:91)
at org.jboss.forge.addon.ui.impl.controller.CommandControllerFactoryImpl.createController(CommandControllerFactoryImpl.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:483)
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.ui.controller.CommandControllerFactory_$$_javassist_d560e567-a1c9-488d-befd-87b4781da840.createController(CommandControllerFactory_$$_javassist_d560e567-a1c9-488d-befd-87b4781da840.java)
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:483)
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.CommandControllerFactory_$$_javassist_adf21b56-367c-4db0-88ee-0aed0f662cd5.createController(CommandControllerFactory_$$_javassist_adf21b56-367c-4db0-88ee-0aed0f662cd5.java)
[catch] at org.jboss.forge.netbeans.ui.wizard.RunForgeWizardRunnable.run(RunForgeWizardRunnable.java:43)
at org.netbeans.modules.quicksearch.QuickSearchPopup.invoke(QuickSearchPopup.java:133)
at org.netbeans.modules.quicksearch.AbstractQuickSearchComboBar$6.run(AbstractQuickSearchComboBar.java:234)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
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}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2196) Projects created with "Project New" should be imported with current maven POM settings (name, etc)
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-2196:
-----------------------------------------
Summary: Projects created with "Project New" should be imported with current maven POM settings (name, etc)
Key: FORGE-2196
URL: https://issues.jboss.org/browse/FORGE-2196
Project: Forge
Issue Type: Enhancement
Components: UI - NetBeans
Reporter: Lincoln Baxter III
Currently, after creating a new project via Forge in NetBeans, the project is imported with the name "empty-project" - you must then "Reload POM" to update this. The projects should be imported with an up-to-date POM / reflect the actual name of the project and its dependencies.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2195) Delay Furnace startup to first request, not on NetBeans startup
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-2195:
-----------------------------------------
Summary: Delay Furnace startup to first request, not on NetBeans startup
Key: FORGE-2195
URL: https://issues.jboss.org/browse/FORGE-2195
Project: Forge
Issue Type: Enhancement
Components: UI - NetBeans
Reporter: Lincoln Baxter III
Currently the NetBeans plugin starts Furnace when NetBeans starts. This will impact NB startup times and should be changed to lazy startup on first request for command names (or wherever is most appropriate, etc.)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (ROASTER-57) Method parameter should be setFinal()
by Nicolas Challut (JIRA)
Nicolas Challut created ROASTER-57:
--------------------------------------
Summary: Method parameter should be setFinal()
Key: ROASTER-57
URL: https://issues.jboss.org/browse/ROASTER-57
Project: Roaster
Issue Type: Enhancement
Affects Versions: 2.11.1.Final
Reporter: Nicolas Challut
Currently, it's impossible to set final a method parameter but generally a mutator have final parameter
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2194?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2194:
-----------------------------------
Fix Version/s: 2.x Future
> Generated JAX-RS endpoing code from entities is wrong for primitive types
> -------------------------------------------------------------------------
>
> Key: FORGE-2194
> URL: https://issues.jboss.org/browse/FORGE-2194
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Marián Labuda
> Assignee: Vineet Reynolds
> Fix For: 2.x Future
>
>
> I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
> {code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
> even though there is a primitive long ID as parameter, the method generate this code
> {code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-2194?page=com.atlassian.jira.plugin... ]
Vineet Reynolds reassigned FORGE-2194:
--------------------------------------
Assignee: Vineet Reynolds
> Generated JAX-RS endpoing code from entities is wrong for primitive types
> -------------------------------------------------------------------------
>
> Key: FORGE-2194
> URL: https://issues.jboss.org/browse/FORGE-2194
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Marián Labuda
> Assignee: Vineet Reynolds
>
> I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
> {code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
> even though there is a primitive long ID as parameter, the method generate this code
> {code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/FORGE-2194?page=com.atlassian.jira.plugin... ]
Marián Labuda updated FORGE-2194:
---------------------------------
Component/s: Java EE
> Generated JAX-RS endpoing code from entities is wrong for primitive types
> -------------------------------------------------------------------------
>
> Key: FORGE-2194
> URL: https://issues.jboss.org/browse/FORGE-2194
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.13.0.Final
> Reporter: Marián Labuda
>
> I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
> {code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
> even though there is a primitive long ID as parameter, the method generate this code
> {code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2194) Generated JAX-RS endpoing code from entities is wrong for primitive types
by Marián Labuda (JIRA)
Marián Labuda created FORGE-2194:
------------------------------------
Summary: Generated JAX-RS endpoing code from entities is wrong for primitive types
Key: FORGE-2194
URL: https://issues.jboss.org/browse/FORGE-2194
Project: Forge
Issue Type: Bug
Affects Versions: 2.13.0.Final
Reporter: Marián Labuda
I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
{code}public Response update(@PathParam("id") long id, ConferenceDTO dto){code}
even though there is a primitive long ID as parameter, the method generate this code
{code} (!id.equals(dto.getId())){code} which is wrong.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months
[JBoss JIRA] (FORGE-2184) GenerateDot fails with Maven 3.2.5: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2184?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2184.
----------------------------------
Fix Version/s: 2.13.2.Final
Resolution: Done
The master branch now it's ONLY compatible with Maven 3.2.5.
The build WILL NOT RUN on Maven 3.2.3 anymore.
> GenerateDot fails with Maven 3.2.5: NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> ---------------------------------------------------------------------------------------------------------
>
> Key: FORGE-2184
> URL: https://issues.jboss.org/browse/FORGE-2184
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: George Gastaldi
> Fix For: 2.13.2.Final
>
>
> STR:
> Use Maven 3.2.5 and run the generate-dot goal on anything.
> Should give you:
> {code}
> --- furnace-maven-plugin:2.12.1.Final:generate-dot (generate-dot) @ windup-victims ---
> Generating /home/ondra/work/Migration/WindupQuickstarts/victi.ms/target/classes/META-INF/resources/windup-victims-2.0.0-SNAPSHOT.dot
> Exception in thread "pool-5-thread-1" Exception in thread "pool-6-thread-1" Exception in thread "DefaultMetadataResolver-3-1" Exception in thread "DefaultMetadataResolver-3-0" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> ... 5 more
> java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
> at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
> at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 11 months