[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-166) Getting ***ERROR*** [set] null on a couple of commands

Rodney Russ (JIRA) jira-events at lists.jboss.org
Thu May 12 11:30:31 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601700#comment-12601700 ] 

Rodney Russ commented on SEAMFORGE-166:
---------------------------------------

[deleteme] deleteme $ set VERBOSE true
[deleteme] deleteme $ entity --named Customer
 ? In which package you'd like to create this @Entity, or enter for default: [com.package.domain] 
***ERROR*** [entity] null
org.jboss.forge.shell.exceptions.CommandExecutionException
	at org.jboss.forge.shell.command.Execution.perform(Execution.java:143)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)
	at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)
	at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:692)
	at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:508)
	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.org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$forge$shell$ShellImpl_$$_WeldClientProxy.doShell(org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$forge$shell$ShellImpl_$$_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:270)
	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:222)
	at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:632)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:619)
	at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:613)
	at org.jboss.forge.shell.Bootstrap$2.run(Bootstrap.java:93)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.InvocationTargetException
	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:139)
	... 30 more
Caused by: java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:186)
	at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:1269)
	at org.eclipse.jdt.core.dom.AST.newName(AST.java:1389)
	at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:392)
	at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:60)
	at org.jboss.forge.spec.javaee.jpa.EntityPlugin.newEntity(EntityPlugin.java:106)
	... 35 more
[deleteme] deleteme $ 


> Getting ***ERROR*** [set] null on a couple of commands
> ------------------------------------------------------
>
>                 Key: SEAMFORGE-166
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-166
>             Project: Seam Forge
>          Issue Type: Bug
>          Components: Builtin Plugins
>    Affects Versions: 1.0.0.Alpha4
>            Reporter: Rodney Russ
>
> In running through "First Steps with Scaffolding" in the docs, I got an "***ERROR*** [set] null" as a result of step 5 (incidentally, the new-entity has changed to just entity).  I wanted to figure out what was going on and tried to execute "set VERBOSE" and actually got the same error.
> I built the lastest code from master in trying to do this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list