openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Re: org.apache.openjpa.persistence.PersistenceException: null
Date Tue, 17 Sep 2013 21:34:35 GMT
You would think so, but the call stack doesn't lie...  :-)


On Tue, Sep 17, 2013 at 4:18 PM, Rick Curtis <curtisr7@gmail.com> wrote:

> Since he is using tomee and OpenEJB shouldn't the container wire the
> enhancer in?
>
>
> On Tue, Sep 17, 2013 at 3:50 PM, Kevin Sutter <kwsutter@gmail.com> wrote:
>
> > What method of enhancement is being used?  From the call stack, it looks
> > like you might be using the RuntimeUnenhancedClasses support which is
> not a
> > recommended practice [1].
> >
> >
> >
> org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176)
> >
> > [1]  http://openjpa.apache.org/entity-enhancement.html
> >
> >
> > On Tue, Sep 17, 2013 at 3:44 PM, Rick Curtis <curtisr7@gmail.com> wrote:
> >
> > > What are the versions of JDK that you used on Windows / Linux... and
> what
> > > JDK did you use to build the application?
> > >
> > >
> > > On Tue, Sep 17, 2013 at 3:14 PM, Leonardo K. Shikida <
> shikida@gmail.com
> > > >wrote:
> > >
> > > > Hi
> > > >
> > > > I have an tomee 1.5.2 + that runs perfectly on linux, but when I try
> to
> > > run
> > > > from windows, it gives me the following error message (see
> stacktrace)
> > > >
> > > > My doubts are
> > > >
> > > > - what does it mean :-)
> > > > - why only in windows
> > > > - is there any way to deal with this?
> > > >
> > > > My feeling it that it's somehow related to the OpenJPA enhancement
> > > process,
> > > > but I really don't have a clue here.
> > > >
> > > > TIA
> > > >
> > > > Leo
> > > >
> > > > Exception in thread "main" javax.ejb.EJBException: The bean
> > encountered a
> > > > non-application exception; nested exception is:
> > > >     <openjpa-2.2.0-r422266:1244990 fatal general error>
> > > > org.apache.openjpa.persistence.PersistenceException: null
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:363)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:283)
> > > >
> > > >     at (...)    at
> > > > (...)
> > > > Caused by: <openjpa-2.2.0-r422266:1244990 fatal general error>
> > > > org.apache.openjpa.persistence.PersistenceException: null
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:96)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:176)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:314)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:238)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:212)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:160)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openejb.persistence.JtaEntityManagerRegistry.getEntityManager(JtaEntityManagerRegistry.java:115)
> > > >
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.openejb.persistence.JtaEntityManager.getEntityManager(JtaEntityManager.java:80)
> > > >
> > > >  (...)
> > > > Caused by: java.lang.VerifyError
> > > >     at sun.instrument.InstrumentationImpl.retransformClasses0(Native
> > > > Method)
> > > >     at
> > > >
> > > >
> > >
> >
> sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
> > > >
> > > >     ... 52 more
> > > >
> > >
> > >
> > >
> > > --
> > > *Rick Curtis*
> > >
> >
>
>
>
> --
> *Rick Curtis*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message