Results 1 to 3 of 3
Thread: Hibernate Error
- 05-08-2007, 10:14 AM #1
Member
- Join Date
- Apr 2007
- Location
- Singapore
- Posts
- 29
- Rep Power
- 0
- 05-08-2007, 03:29 PM #2
Member
- Join Date
- Apr 2007
- Location
- Indiana
- Posts
- 83
- Rep Power
- 0
Can you put the application into debug, step thru it and then zone in on the exact code that is causing the error and post more information here? Apparently you do not have something mapped correctly in your hbm.xml file.
- 05-15-2007, 10:24 AM #3
Member
- Join Date
- Apr 2007
- Location
- Singapore
- Posts
- 29
- Rep Power
- 0
I encounter another error. Following is the error.
java.lang.NullPointerException
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:286)
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:350)
org.apache.struts.chain.commands.CreateActionForm. execute(CreateActionForm.java:89)
org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:48)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:280)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1858)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:446)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:368)
I'm using Struts and Hibernate. I want to retrieve data from the DB and display it out but i got this error above. I don't understand where the null came from.
Similar Threads
-
Hibernate, help me
By Nick15 in forum JDBCReplies: 2Last Post: 06-05-2008, 03:39 PM -
Hibernate error
By Marty in forum JDBCReplies: 4Last Post: 06-04-2008, 05:03 AM -
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1
By Heather in forum JDBCReplies: 2Last Post: 06-30-2007, 03:01 PM -
error in JBoss with hibernate, EJB3 and postgres
By Nick15 in forum EclipseReplies: 3Last Post: 05-14-2007, 05:10 PM -
Hibernate
By Shuru in forum JDBCReplies: 2Last Post: 05-09-2007, 05:39 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks