Hi,
There was no stack as such. It failed in the first line of
hellojpa.Main() itself while creating factory. This was what I got:
Exception in thread "main" java.lang.NullPointerException
at hellojpa.Main.main(Main.java:43)
Is there some way through which I can make nested exception come on
console. Guess, the Persistence class was in my library and because of
not having its source code I was not able to get nested exception.
thanks
On Thu, Apr 30, 2009 at 7:02 PM, Rick Curtis (via Nabble)
<[email protected]> wrote:
> Will you post the entire stack for the NPE?
>
> -Rick
>
> ashishpaliwal wrote:
> Hi,
>
> Guys, I got my test cases run without problem. But still that
> example.hellojpa is giving NullPointerException. Probably I need to
> specify some properties somewhere. Happy that something atleast ran.
> Thanks a lot to all of you for bearing with me. :)
>
>
> thanks and regards
>
> --
> Ashish Paliwal
> Mobile : 9305128367
> IIT Kanpur
> India
>
> ________________________________
> View message @
> http://n2.nabble.com/Files-in-package-org.apache.openjpa.kernel.jpql.-tp2734002p2747106.html
> To start a new topic under OpenJPA Users, email
> [email protected]
> To unsubscribe from OpenJPA Users, click here.
>
--
Ashish Paliwal
Mobile : 9305128367
IIT Kanpur
India
--
View this message in context:
http://n2.nabble.com/Files-in-package-org.apache.openjpa.kernel.jpql.-tp2734002p2747181.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.