Skip to Content
0
Former Member
Apr 26, 2004 at 01:31 PM

NullPointerException

30 Views

Hello,

When I launch the first persistence example from the mdk by exporting the project in eclipse (I have to work offline, i.e without synchronisation), I always get following error:

Me Persistence initialization, step 1: start create instance of com.sap.ip.me.api.persist.core.PersistenceRuntime

java.lang.NullPointerException

at java.util.Hashtable.get(Unknown Source)

at com.sap.ip.me.persist.core.PersistenceRuntimeImpl.getTransactionManager(Unknown Source)

at com.sap.ip.me.persist.core.PersistenceRuntimeImpl.getTransactionManager(Unknown Source)

at com.sap.ip.me.api.persist.core.PersistenceRuntime.getTransactionManager(Unknown Source)

at persistenceexample1.datafactory.ReadWriteEntities.setupPersistenceRuntime(ReadWriteEntities.java:37)

at persistenceexample1.PersistenceExample.doInitialize(PersistenceExample.java:40)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.init(Unknown Source)

at javax.servlet.GenericServlet.init(GenericServlet.java)

at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)

at org.apache.tomcat.core.Handler.init(Handler.java:215)

at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)

at org.apache.tomcat.core.Handler.service(Handler.java:254)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)Error during startup

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Unknown Source)

I think it comes when there is a getTransactionManager() call.

Do I have to configure something special to make it work ?

Has someone else ever had that kind of error before ?

Regards, Paul