Hi Casey,

Have you tried 'Project' -> 'Clean...'?

If it doesn't help, can you file an issue with the reproducible code
snippet or project itself?

Thanks,

-- Takashi


On Sun, Jul 8, 2012 at 2:01 AM, Casey <j.casey.one...@gmail.com> wrote:

> I have a number of JUnit tests in my project that test my DataStore
> services. For the past two years, they've been working just fine and I've
> been able to successfully insert, query, and delete entities through unit
> tests. A couple of days ago I upgraded to App Engine 1.7 and all of a
> sudden all of my tests throw a NullPointerException because
>
> Persistence.createEntityManagerFactory("transactions-optional") returns
> null. My persistence.xml file contains the following configuration which
> like I said, has worked perfectly up until the upgrade.
>
> <persistence-unit name="transactions-optional">
>         <provider>
> org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider
> </provider>
>         <properties>
>             <property name="datanucleus.NontransactionalRead" value="true"
> />
>             <property name="datanucleus.NontransactionalWrite" value=
> "true"/>
>             <property name="datanucleus.ConnectionURL" value="appengine"/>
>         </properties>
> </persistence-unit>
>
>
> Any idea what could have changed in the upgrade?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/FWYSUvA-Qx4J.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to