-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: ValidationException‏ Call to TraversableResolver.isReachable
PostPosted: Fri Apr 23, 2010 3:34 pm 
Newbie

Joined: Fri Apr 23, 2010 3:25 pm
Posts: 3
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 using Glassfish v3 build 74.2 and


java plateform -


jdk1.6.0_11 (default in netbeans 6.8)

and

jdk1.6.0_20

[#|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.

Thanking you in advance

eve


Top
 Profile  
 
 Post subject: Re: ValidationException‏ Call to TraversableResolver.isReachable
PostPosted: Tue Apr 27, 2010 2:08 pm 
Newbie

Joined: Fri Apr 23, 2010 3:25 pm
Posts: 3
Hello everyone,

Please, I am really stack on this and not sure why it's not working for me.
I would welcome any suggestions and if you would like more details, please
kindly let me know.

Regards

eve


Top
 Profile  
 
 Post subject: Re: ValidationException‏ Call to TraversableResolver.isReachable
PostPosted: Thu Apr 29, 2010 1:50 pm 
Newbie

Joined: Fri Apr 23, 2010 3:25 pm
Posts: 3
Hello,


I tested my application on XP and it seems to work. It seems the problem occurs on Vista.
So does this mean validation does not work with Vista?

Thanks


eve


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.