[jboss-user] [JBoss Seam] - Re: Trouble W/ NullPointerException
nathandennis
do-not-reply at jboss.com
Sun Dec 16 21:47:26 EST 2007
thanks for the responses. unfortunately im still struggling. i tried both of your recommendations with no luck. here is the entity manager as declared in my components.xml
| <persistence:managed-persistence-context name="entityManager"
| auto-create="true"
| persistence-unit-jndi-name="java:/pictureEntityManagerFactory"/>
|
i didnt find much with debug either. apparently im not doing something right.
| 2007-12-16 21:26:11,361 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.web.parameters
| 2007-12-16 21:26:11,361 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.web.parameters
| 2007-12-16 21:26:11,361 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.web.parameters
| 2007-12-16 21:26:11,370 ERROR [STDERR] java.lang.NullPointerException
| 2007-12-16 21:26:11,371 ERROR [STDERR] at com.dcg.action.ReturnServer.queryServer(ReturnServer.java:76)
| 2007-12-16 21:26:11,371 ERROR [STDERR] at com.dcg.action.ReturnServer.findServer(ReturnServer.java:51)
| 2007-12-16 21:26:11,371 ERROR [STDERR] at com.dcg.action.FtpRemote.findServer(FtpRemote.java:66)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at com.dcg.action.FileUploadAction.ftpFile(FileUploadAction.java:120)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at com.dcg.action.FileUploadAction.UploadFile(FileUploadAction.java:82)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
| 2007-12-16 21:26:11,372 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContex
|
could this have something to do with the way i called these classes
using "new" ????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113254#4113254
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113254
More information about the jboss-user
mailing list