[JBoss JIRA] (FORGE-799) RunPluginTest fails when there is a space on directory path
by Michal Matloka (JIRA)
Michal Matloka created FORGE-799:
------------------------------------
Summary: RunPluginTest fails when there is a space on directory path
Key: FORGE-799
URL: https://issues.jboss.org/browse/FORGE-799
Project: Forge
Issue Type: Bug
Environment: win7 x64
Reporter: Michal Matloka
Assignee: Michal Matloka
{noformat}
testRun(org.jboss.forge.shell.plugins.builtin.RunPluginTest): Unexpected exception, expected<org.jboss.forge.shell.exceptions.NoSuchCommandException> but was<java.lang.RuntimeException>
{noformat}
test executes "run " + absolutepath, so it executes "run C://.../forge core/.../...fsh" and interprets it as "run C://.../forge"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (FORGEPLUGINS-102) Fresh install of Forge 1.2.1, new project, "errai setup" results in a NullPointerException
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-102?page=com.atlassian.jira.... ]
George Gastaldi updated FORGEPLUGINS-102:
-----------------------------------------
Assignee: Pavel Slegr
> Fresh install of Forge 1.2.1, new project, "errai setup" results in a NullPointerException
> ------------------------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-102
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-102
> Project: Forge Plugins
> Issue Type: Bug
> Environment: Windows 7, Forge 1.2.0 and 1.2.1,
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
> Reporter: J Price
> Assignee: Pavel Slegr
>
> With a fresh install of Forge 1.2.0 or 1.2.1 (this stack trace is from 1.2.1.Final), creating a new project and then running errai setup results in the following error:
> [ErraiSpike] ErraiSpike $ errai
> Errai is not installed. Use 'errai setup' to get started.
> [ErraiSpike] ErraiSpike $ errai setup
> ***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
> [ErraiSpike] ErraiSpike $ set VERBOSE true
> [ErraiSpike] ErraiSpike $ errai setup
> ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
> java.lang.NullPointerException
> at org.jboss.errai.forge.ErraiPlugin.setup(ErraiPlugin.java:81)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:789)
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:812)
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:602)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (FORGEPLUGINS-102) Fresh install of Forge 1.2.1, new project, "errai setup" results in a NullPointerException
by J Price (JIRA)
J Price created FORGEPLUGINS-102:
------------------------------------
Summary: Fresh install of Forge 1.2.1, new project, "errai setup" results in a NullPointerException
Key: FORGEPLUGINS-102
URL: https://issues.jboss.org/browse/FORGEPLUGINS-102
Project: Forge Plugins
Issue Type: Bug
Environment: Windows 7, Forge 1.2.0 and 1.2.1,
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
Reporter: J Price
With a fresh install of Forge 1.2.0 or 1.2.1 (this stack trace is from 1.2.1.Final), creating a new project and then running errai setup results in the following error:
[ErraiSpike] ErraiSpike $ errai
Errai is not installed. Use 'errai setup' to get started.
[ErraiSpike] ErraiSpike $ errai setup
***ERROR*** Exception encountered: null (type "set VERBOSE true" to enable stack traces)
[ErraiSpike] ErraiSpike $ set VERBOSE true
[ErraiSpike] ErraiSpike $ errai setup
***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
java.lang.NullPointerException
at org.jboss.errai.forge.ErraiPlugin.setup(ErraiPlugin.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:134)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:789)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:812)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (FORGE-798) Add support to the field plugin for specifying FetchTypes
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-798:
-------------------------------------
Summary: Add support to the field plugin for specifying FetchTypes
Key: FORGE-798
URL: https://issues.jboss.org/browse/FORGE-798
Project: Forge
Issue Type: Feature Request
Components: Java EE APIs
Affects Versions: 1.2.1.Final
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
The {{fetch}} attribute of the JPA @OneToOne, @OneToMany, @ManyToOne, @ManyToMany annotations cannot be set via the field plugin.
I'd like to add support for this, since it would be easier to test scaffolds ;-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months