|
|
JPA + Oracle Connection Issue
work.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Please use [ code][/code ] tags when posting code/xml/stracktraces.
Why is this an oracle/jpa error. It is a configuration mistake on your behave... You nowhere in your configuration inject the 'inquiryFormService' into your controller, hence it is null...
Sorry about that I am a total newbie.
I added
Code:
lt;property name=quot;inquiryFormServicequot; ref=quot;inquiryFormServicequot;/gt;to the inquiryforms-servlet.xml file in my controller bean declaration. I also added the following method to my InquiryFormController but I still get the same error.Code:
public void setInquiryFormService (InquiryFormService inquiryFormService) {
this.inquiryFormService = inquiryFormService;
}You already had that method, so not sure why you added it again...
Post the new stacktrace.... and please use [ code][/code ] tags this time.
work.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Fix your code... You never initialize the logger...
work.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)No it is NOT the same error...
inital
Code:
java.lang.NullPointerException
at inquiryforms.web.InquiryFormController.referenceData(InquiryFormController.java:30)
nowCode:
java.lang.NullPointerException
at inquiryforms.repository.InquiryFormDAO.getStateList(InquiryFormDAO.java:32)
at inquiryforms.web.InquiryFormController.referenceData(InquiryFormController.java:33)
Again I suggest checking your code, (I'm not going to do all your work for you !) and see if all the dependencies tget injected and make sure all the loggers get properly initialized. |
|