Subscribe

NeoDatisError:235 when importing

You are viewing a single message from this topic. View all messages.

  1. 2009-09-24 10:14:34 UTC

    Hi Oliver,

    thanks, you have fixed the initial error in 1.9.13. It works on my tests. I have also checked on my program and I will have problem coming from next step.

    If I try to continue session after export, it brakes when I save next object. So please change your test from this

    exporter.export(DIRECTORY, baseName+".xml");
    odb.close();
    

    to this

    Hi Oliver,

    thanks, you have fixed the initial error in 1.9.13. It works on my tests. I have also checked on my program and I will have problem coming from next step.

    If I try to continue session after export, it brakes when I save next object. So please change your test from this

    exporter.export(DIRECTORY, baseName+".xml");
    
    flock.getBirds().add(new Bird("b4", 3));
    odb.store(flock);
    
    odb.close();
    

    It should brake at store with something like this:

    org.neodatis.odb.ODBRuntimeException: NeoDatis has thrown an Exception, please help us filling a bug report at https://sourceforge.net/tracker/?func=add&group_id=179124&atid=887885 with the following error message Version=1.9.13 , Build=621, Date=24-09-2009-00-19-53, Thread=main NeoDatisError:213:Object with oid 3 does not exist in cache StackTrace: at org.neodatis.odb.impl.core.transaction.Cache.getObjectInfoHeaderFromOid(Cache.java:359) at org.neodatis.odb.impl.core.layers.layer3.engine.AbstractObjectWriter.manageNewObjectPointers(AbstractObjectWriter.java:1607) at org.neodatis.odb.impl.core.layers.layer3.engine.AbstractObjectWriter.writeNonNativeObjectInfo(AbstractObjectWriter.java:1054) at org.neodatis.odb.impl.core.layers.layer3.engine.AbstractObjectWriter.insertNonNativeObject(AbstractObjectWriter.java:1805) at org.neodatis.odb.core.layers.layer3.engine.AbstractStorageEngine.internalStore(AbstractStorageEngine.java:523) at org.neodatis.odb.core.layers.layer3.engine.AbstractStorageEngine.store(AbstractStorageEngine.java:421) at org.neodatis.odb.core.layers.layer3.engine.AbstractStorageEngine.store(AbstractStorageEngine.java:403) at org.neodatis.odb.impl.main.ODBAdapter.store(ODBAdapter.java:106) at com.gtdfree.test.odb.Test1.test1(Test1.java:145) 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:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) 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:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Thanks,

    Ike

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.