Please,
see attached war file. Please, could somebody test it with
glassfish v3 and let me know if they are having same problems.
Thanks.
eve
From: gorgeous65_at_msn.com
To: users_at_glassfish.dev.java.net
CC: ejb_at_glassfish.dev.java.net; persistence_at_glassfish.dev.java.net
Date: Wed, 21 Apr 2010 16:10:51 +0100
Subject: javax.validation.ValidationException
Hello everyone,
I have application which uses security of JDBC realm. I have using
hibernate-validator-4.0.2GA.jar and validation-api-1.0.0.GA.jar
with jspx files. I am trying to run the applicaition from -
http://monstersandwich.blogspot.com/search/label/security
ShoppingCartGF.zip
I am using Glassfish v3 build 74.2 and
java plateform -
jdk1.6.0_11 (default in netbeans 6.8)
and
jdk1.6.0_20
I would like to use the jdk1.6.0_20 as my default but netbeans
does not allow me.
The registeration gives me the error below-
[#|2010-04-21T16:05:35.019+0100|WARNING|glassfishv3.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=29;_ThreadName=Thread-1;|#{pc_Register.register}: javax.validation.ValidationException: Call to TraversableResolver.isReachable() threw an exception
javax.faces.FacesException: #{pc_Register.register}: javax.validation.ValidationException: Call to TraversableResolver.isReachable() threw an exception
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
Caused by: javax.faces.el.EvaluationException: javax.validation.ValidationException: Call to TraversableResolver.isReachable() threw an exception
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 42 more
Caused by: javax.validation.ValidationException: Call to TraversableResolver.isReachable() threw an exception
at org.hibernate.validator.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:773)
at org.hibernate.validator.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:331)
at org.hibernate.validator.engine.ValidatorImpl.validateConstraintsForRedefinedDefaultGroup(ValidatorImpl.java:278)
at org.hibernate.validator.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:260)
at org.hibernate.validator.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:213)
Caused by: java.lang.NullPointerException
at java.lang.Class.searchFields(Class.java:2599)
at java.lang.Class.getField0(Class.java:2618)
at java.lang.Class.getField(Class.java:1518)
at org.hibernate.ejb.util.PersistenceUtilHelper.get(PersistenceUtilHelper.java:84)
at org.hibernate.ejb.util.PersistenceUtilHelper.isLoadedWithReference(PersistenceUtilHelper.java:76)
at org.hibernate.ejb.HibernatePersistence$1.isLoadedWithReference(HibernatePersistence.java:167)
It application should be working but does not seem to be working for me.
Any ideas why it is not working for me.
Get a free e-mail account with Hotmail. Sign-up now.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now