adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

81 views
Skip to first unread message

silvio.troia

unread,
Jul 12, 2012, 7:05:20 AM7/12/12
to google-we...@googlegroups.com
hi, 
i'm new in GWT, 
i've added a gwt-validation library,
error appears when hibernate have to do merge
 /*

* (non-Javadoc)

* @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)

*/

@Transactional

public T store(T toStore) {

if (canBeMerged(toStore)) {

return merge(toStore);

}

else {

return persist(toStore);

}

} 

some helps?

Juan Pablo Gardella

unread,
Jul 12, 2012, 9:20:49 AM7/12/12
to google-we...@googlegroups.com
Can you share the stacktrace?

2012/7/12 silvio.troia <silvio...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yXMGxpkJib0J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

silvio.troia

unread,
Jul 12, 2012, 10:55:50 AM7/12/12
to google-we...@googlegroups.com
i don't have a stacktrace.
all calls to db doesn't work
in debug mode i see only java.lang.reflect.InvocationTargetException
with target NullPonterExceptions in AopUtils.Class

silvio.troia

unread,
Jul 12, 2012, 10:59:45 AM7/12/12
to google-we...@googlegroups.com
it doesn't work when copy a gwt-validation library into a folder on my project
it's very strange

Jens

unread,
Jul 12, 2012, 11:06:50 AM7/12/12
to google-we...@googlegroups.com

silvio.troia

unread,
Jul 12, 2012, 11:17:49 AM7/12/12
to google-we...@googlegroups.com
ok tnx

silvio.troia

unread,
Jul 12, 2012, 12:47:30 PM7/12/12
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages