Re: Nullpointer on use of EntityManager in app run in TOMEE

2015-03-21 Thread Romain Manni-Bucau
; > > -- > View this message in context: http://tomee-openejb.979440.n4.nabble.com/Nullpointer-on-use-of-EntityManager-in-app-run-in-TOMEE-tp4674140p4674142.html > Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: Nullpointer on use of EntityManager in app run in TOMEE

2015-03-21 Thread davshowhan
What do you mean? is it wrong? RESOURCE-LOCAL is when you dont use a datasource right? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Nullpointer-on-use-of-EntityManager-in-app-run-in-TOMEE-tp4674140p4674142.html Sent from the TomEE Dev mailing list archive at

Re: Nullpointer on use of EntityManager in app run in TOMEE

2015-03-21 Thread Romain Manni-Bucau
saction( ).commit( ); > > entitymanager.close( ); > > } > } > > > > > Nullpointer happens on call of entitymanager.persist because entitymanager > is null.....but thats not suppose to be right? it should be not null. > > Can anyon

Nullpointer on use of EntityManager in app run in TOMEE

2015-03-21 Thread davshowhan
ld be not null. Can anyone help me on this? libraries in project: eclipselink.jar eclipselink-jpa jars hsqldb.jar -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Nullpointer-on-use-of-EntityManager-in-app-run-in-TOMEE-tp4674140.html Sent from the TomEE Dev mailing list archive at Nabble.com.