continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse McConnell" <jesse.mcconn...@gmail.com>
Subject Re: Problems with the int / long conversion?
Date Wed, 07 Mar 2007 17:15:26 GMT
ya, I didn't think any of that came over from that branch...which
we'll get rid of once rahul is back from his vacation

jesse

On 3/7/07, Andrew Williams <andy@handyande.co.uk> wrote:
> Hm, it is an error with the jdo2 snapshot release I was using, so a
> false alarm for now ;)
>
> On 7 Mar 2007, at 01:20, Andrew Williams wrote:
>
> > Digging in to continuum I get these errors in continuum-store, is
> > it related to the recent int -> long updates?
> >
> > Andy
> >
> > javax.jdo.JDOFatalInternalException: The key value passed to
> > construct a SingleFieldIdentity of type
> > "javax.jdo.identity.IntIdentity" for class
> > "org.apache.maven.continuum.model.project.ProjectGroup" is of an
> > incorrect type ("java.lang.Long") - should be "Integer".
> >         at org.jpox.util.AIDUtils.getNewSingleFieldIdentity
> > (AIDUtils.java:154)
> >         at org.jpox.AbstractPersistenceManager.newObjectIdInstance
> > (AbstractPersistenceManager.java:2397)
> >         at org.codehaus.plexus.jdo.PlexusJdoUtils.getObjectById
> > (PlexusJdoUtils.java:336)
> >         at org.codehaus.plexus.jdo.PlexusJdoUtils.getObjectById
> > (PlexusJdoUtils.java:304)
> >         at
> > org.apache.maven.continuum.store.JdoContinuumStore.getObjectById
> > (JdoContinuumStore.java:765)
> >         at
> > org.apache.maven.continuum.store.JdoContinuumStore.getProjectGroupWith
> > BuildDetailsByProjectGroupId(JdoContinuumStore.java:1239)
> >         at
> > org.apache.maven.continuum.store.ContinuumStoreTest.testDeleteGroupBui
> > ldDefinition(ContinuumStoreTest.java:884)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at junit.framework.TestCase.runTest(TestCase.java:154)
> >         at junit.framework.TestCase.runBare(TestCase.java:127)
> >         at junit.framework.TestResult$1.protect(TestResult.java:106)
> >         at junit.framework.TestResult.runProtected(TestResult.java:
> > 124)
> >         at junit.framework.TestResult.run(TestResult.java:109)
> >         at junit.framework.TestCase.run(TestCase.java:118)
> >         at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >         at junit.framework.TestSuite.run(TestSuite.java:203)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.maven.surefire.junit.JUnitTestSet.execute
> > (JUnitTestSet.java:213)
> >         at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest
> > Set(AbstractDirectoryTestSuite.java:138)
> >         at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute
> > (AbstractDirectoryTestSuite.java:163)
> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
> > (SurefireBooter.java:244)
> >         at org.apache.maven.surefire.booter.SurefireBooter.main
> > (SurefireBooter.java:814)
> >
> >
>
>


-- 
jesse mcconnell
jesse.mcconnell@gmail.com

Mime
View raw message