openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Re: Re: Java 7 OpenJPA Maven Enhance
Date Thu, 02 Feb 2012 14:45:11 GMT
Good to hear.  Thanks for the update.

On Tue, Jan 31, 2012 at 7:03 AM, LongkerDandy <longkerdandy@gmail.com>wrote:

> After update to openjpa-maven-plugin to 2.2.0-SNAPSHOT, problem fixed.
>
>
> On Tue, Jan 31, 2012 at 12:05 PM, LongkerDandy <longkerdandy@gmail.com
> >wrote:
>
> > I'm now using openjpa 2.2.0-SNAPSHOT.
> > Seems the enhancement now works, But I still got a VerifyError when first
> > time try to access the database.
> >
> > Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch
> > target 190 in method
> > org.chii2.medialibrary.persistence.entity.ImageFileImpl.<clinit>()V at
> > offset 181
> >  at java.lang.Class.forName0(Native Method) ~[na:1.7.0_02]
> >  at java.lang.Class.forName(Class.java:264) ~[na:1.7.0_02]
> >  at
> >
> org.apache.openjpa.meta.MetaDataRepository.classForName(MetaDataRepository.java:1550)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.meta.MetaDataRepository.loadPersistentTypesInternal(MetaDataRepository.java:1526)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.meta.MetaDataRepository.loadPersistentTypes(MetaDataRepository.java:1504)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.meta.MetaDataRepository.loadPersistentTypes(MetaDataRepository.java:1484)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:141)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:164)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:122)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:209)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
> > ~[na:na]
> >  at
> >
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
> > ~[na:na]
> >  at
> >
> org.apache.aries.jpa.container.impl.CountingEntityManagerFactory.createEntityManager(CountingEntityManagerFactory.java:70)
> > ~[na:na]
> >  at
> >
> org.apache.aries.jpa.container.context.transaction.impl.JTAEntityManager.getPersistenceContext(JTAEntityManager.java:92)
> > ~[na:na]
> >  at
> >
> org.apache.aries.jpa.container.context.transaction.impl.JTAEntityManager.getCriteriaBuilder(JTAEntityManager.java:391)
> > ~[na:na]
> >  at
> >
> org.chii2.medialibrary.persistence.PersistenceServiceImpl.init(PersistenceServiceImpl.java:35)
> > ~[na:na]
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[na:1.7.0_02]
> >  at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > ~[na:1.7.0_02]
> >  at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[na:1.7.0_02]
> >  at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_02]
> >  at
> >
> org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
> > ~[na:na]
> >  at
> >
> org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
> > ~[na:na]
> >  at
> >
> org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)
> > ~[na:na]
> >  ... 64 common frames omitted
> >
> > Do I miss something for OpenJPA 2.2.0 ?
> >
> > Regards
> > LongkerDandy
> > On Mon, Jan 16, 2012 at 10:57 PM, Kevin Sutter <kwsutter@gmail.com>
> wrote:
> >
> >> This issue with the Enhancement processing and Java 7 was resolved with
> >> JIRA OPENJPA-2085 ( https://issues.apache.org/jira/browse/OPENJPA-2085).
> >>  This change only went into trunk.
> >>
> >> Kevin
> >>
> >> On Sun, Jan 15, 2012 at 1:52 AM, Mark Struberg <struberg@yahoo.de>
> wrote:
> >>
> >> > Could you please run maven with the -X option and send the stacktrace?
> >> >
> >> >
> >>
> >
> >
>

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