Thread: RE: [OJB-developers] Re: Problems with version 0.8.400
Brought to you by:
thma
From: Matthew B. <ma...@so...> - 2002-05-17 00:51:46
|
David, I know it's a pain in the butt, but could you put together a test case that shows the problem? If you do that and it's a bona fide bug, I'll add the test case to the suite, and try to fix the bug. That way, you'll be regression proof in the future. Cheers, Matthew -----Original Message----- From: David Forslund [mailto:dw...@la...] Sent: Thursday, May 16, 2002 4:59 PM To: obj...@li... Subject: [OJB-developers] Re: Problems with version 0.8.400 I "upgraded" to version 0.8.400 but now have a problem I don't understand. this was working fine with version 0.7.310. There were a number of changes going to 400 but I don't see how they caused this behavior. Several similar objects were successfully stored in the database prior to this error, so it seems to be data dependent. 27129 [main] ERROR gov.lanl.Database.OJBDatabaseMgr - insertElement: 'gov.lanl.COAS.ObservationData _@9e215b' name: 'null', error: ojb.broker.PersistenceBrokerException at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker Impl.java:447) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 305) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 18) at gov.lanl.Database.OJBDatabaseMgr.insertElement(OJBDatabaseMgr.java:302) at gov.lanl.COAS.ObservationMgrImpl.add_observation(ObservationMgrImpl.java:648 ) at gov.lanl.COAS.ObservationMgrImpl.<init>(ObservationMgrImpl.java:211) at gov.lanl.COAS.ObservationComponentImpl.init(ObservationComponentImpl.java:23 6) at gov.lanl.COAS.ObservationComponentImpl.main(ObservationComponentImpl.java:32 0) Caused by: ojb.broker.PersistenceBrokerException at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker Impl.java:447) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 305) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 18) at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker Impl.java:438) ... 7 more Caused by: ojb.broker.PersistenceBrokerException at ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI mpl.java:351) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 303) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 18) at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker Impl.java:438) ... 10 more Caused by: java.lang.ArrayIndexOutOfBoundsException at ojb.broker.accesslayer.JdbcAccess.getSqlTypePk(JdbcAccess.java:557) at ojb.broker.accesslayer.StatementManager.bindSelect(StatementManager.java:325 ) at ojb.broker.accesslayer.JdbcAccess.materializeObject(JdbcAccess.java:326) at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 13) at ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI mpl.java:344) ... 13 more Any ideas? Is it something to do with the cache? Thanks, Dave _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |
From: David F. <dw...@la...> - 2002-05-17 01:26:47
|
The test I'm seeing it in is fairly complicated so it isn't easy to isolate to a test. I don't even know if it is a bug. I was hoping the tracebacks might shed a clue as to where to look. Thanks, Dave At 05:52 PM 5/16/2002 -0700, Matthew Baird wrote: >David, > >I know it's a pain in the butt, but could you put together a test case that >shows the problem? If you do that and it's a bona fide bug, I'll add the >test case to the suite, and try to fix the bug. That way, you'll be >regression proof in the future. > >Cheers, >Matthew > >-----Original Message----- >From: David Forslund [mailto:dw...@la...] >Sent: Thursday, May 16, 2002 4:59 PM >To: obj...@li... >Subject: [OJB-developers] Re: Problems with version 0.8.400 > >I "upgraded" to version 0.8.400 but now have a problem I don't >understand. this was working fine with version 0.7.310. >There were a number of changes going to 400 but I don't see how they caused >this behavior. Several similar objects >were successfully stored in the database prior to this error, so it seems >to be data dependent. > >27129 [main] ERROR gov.lanl.Database.OJBDatabaseMgr - insertElement: >'gov.lanl.COAS.ObservationData >_@9e215b' name: 'null', error: >ojb.broker.PersistenceBrokerException > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >Impl.java:447) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >305) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >18) > at >gov.lanl.Database.OJBDatabaseMgr.insertElement(OJBDatabaseMgr.java:302) > at >gov.lanl.COAS.ObservationMgrImpl.add_observation(ObservationMgrImpl.java:648 >) > at >gov.lanl.COAS.ObservationMgrImpl.<init>(ObservationMgrImpl.java:211) > at >gov.lanl.COAS.ObservationComponentImpl.init(ObservationComponentImpl.java:23 >6) > at >gov.lanl.COAS.ObservationComponentImpl.main(ObservationComponentImpl.java:32 >0) >Caused by: ojb.broker.PersistenceBrokerException > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >Impl.java:447) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >305) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >18) > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >Impl.java:438) > ... 7 more >Caused by: ojb.broker.PersistenceBrokerException > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI >mpl.java:351) > > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >303) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >18) > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >Impl.java:438) > ... 10 more >Caused by: java.lang.ArrayIndexOutOfBoundsException > at >ojb.broker.accesslayer.JdbcAccess.getSqlTypePk(JdbcAccess.java:557) > at >ojb.broker.accesslayer.StatementManager.bindSelect(StatementManager.java:325 >) > at >ojb.broker.accesslayer.JdbcAccess.materializeObject(JdbcAccess.java:326) > at >ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >13) > at >ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI >mpl.java:344) > > ... 13 more > >Any ideas? Is it something to do with the cache? > >Thanks, > >Dave > > >_______________________________________________________________ > >Have big pipes? SourceForge.net is looking for download mirrors. We supply >the hardware. You get the recognition. Email Us: ban...@so... >_______________________________________________ >Objectbridge-developers mailing list >Obj...@li... >https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > >_______________________________________________________________ > >Have big pipes? SourceForge.net is looking for download mirrors. We supply >the hardware. You get the recognition. Email Us: ban...@so... >_______________________________________________ >Objectbridge-developers mailing list >Obj...@li... >https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |
From: Thomas M. <tho...@ho...> - 2002-05-17 13:29:19
|
Hi David, Unfortunately I don't get enough information from the stacktrace to see what's going wrong. can you please set the logging switches to debug on all loggers in OJB.properties and provide me with a printout of the log. I hopeto get more indepth information from that. cu, Thomas Matthew Baird wrote: > David, > > I know it's a pain in the butt, but could you put together a test case that > shows the problem? If you do that and it's a bona fide bug, I'll add the > test case to the suite, and try to fix the bug. That way, you'll be > regression proof in the future. > > Cheers, > Matthew > > -----Original Message----- > From: David Forslund [mailto:dw...@la...] > Sent: Thursday, May 16, 2002 4:59 PM > To: obj...@li... > Subject: [OJB-developers] Re: Problems with version 0.8.400 > > I "upgraded" to version 0.8.400 but now have a problem I don't > understand. this was working fine with version 0.7.310. > There were a number of changes going to 400 but I don't see how they caused > this behavior. Several similar objects > were successfully stored in the database prior to this error, so it seems > to be data dependent. > > 27129 [main] ERROR gov.lanl.Database.OJBDatabaseMgr - insertElement: > 'gov.lanl.COAS.ObservationData > _@9e215b' name: 'null', error: > ojb.broker.PersistenceBrokerException > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker > Impl.java:447) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 > 305) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 > 18) > at > gov.lanl.Database.OJBDatabaseMgr.insertElement(OJBDatabaseMgr.java:302) > at > gov.lanl.COAS.ObservationMgrImpl.add_observation(ObservationMgrImpl.java:648 > ) > at > gov.lanl.COAS.ObservationMgrImpl.<init>(ObservationMgrImpl.java:211) > at > gov.lanl.COAS.ObservationComponentImpl.init(ObservationComponentImpl.java:23 > 6) > at > gov.lanl.COAS.ObservationComponentImpl.main(ObservationComponentImpl.java:32 > 0) > Caused by: ojb.broker.PersistenceBrokerException > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker > Impl.java:447) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 > 305) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 > 18) > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker > Impl.java:438) > ... 7 more > Caused by: ojb.broker.PersistenceBrokerException > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI > mpl.java:351) > > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 > 303) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 > 18) > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker > Impl.java:438) > ... 10 more > Caused by: java.lang.ArrayIndexOutOfBoundsException > at > ojb.broker.accesslayer.JdbcAccess.getSqlTypePk(JdbcAccess.java:557) > at > ojb.broker.accesslayer.StatementManager.bindSelect(StatementManager.java:325 > ) > at > ojb.broker.accesslayer.JdbcAccess.materializeObject(JdbcAccess.java:326) > at > ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 > 13) > at > ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI > mpl.java:344) > > ... 13 more > > Any ideas? Is it something to do with the cache? > > Thanks, > > Dave > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > |
From: David F. <dw...@la...> - 2002-05-17 15:50:09
|
I've turned on the debugging, but don't see any problems there. It appears to be some configuration problem of some kind. If I take the same data and attempt to store it to the database after the failure, it stores it just fine. I can store other data before this failure without any problem, so the difficulty is connected with something in the data that triggers a behavior in OJB, but the next time I store the identical data, it works. I'm not sure what to look for in the logging. It is a mystery to me as to why it works after the initial failure. Dave At 03:29 PM 5/17/2002 +0200, Thomas Mahler wrote: >Hi David, > >Unfortunately I don't get enough information from the stacktrace to see >what's going wrong. > >can you please set the logging switches to debug on all loggers in >OJB.properties and provide me with a printout of the log. I hopeto get >more indepth information from that. > >cu, > >Thomas > >Matthew Baird wrote: > >>David, >>I know it's a pain in the butt, but could you put together a test case that >>shows the problem? If you do that and it's a bona fide bug, I'll add the >>test case to the suite, and try to fix the bug. That way, you'll be >>regression proof in the future. >>Cheers, >>Matthew >>-----Original Message----- >>From: David Forslund [mailto:dw...@la...] Sent: Thursday, May 16, 2002 >>4:59 PM >>To: obj...@li... >>Subject: [OJB-developers] Re: Problems with version 0.8.400 >>I "upgraded" to version 0.8.400 but now have a problem I don't >>understand. this was working fine with version 0.7.310. >>There were a number of changes going to 400 but I don't see how they >>caused this behavior. Several similar objects >>were successfully stored in the database prior to this error, so it seems >>to be data dependent. >>27129 [main] ERROR gov.lanl.Database.OJBDatabaseMgr - insertElement: >>'gov.lanl.COAS.ObservationData >>_@9e215b' name: 'null', error: >>ojb.broker.PersistenceBrokerException >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >>Impl.java:447) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >>305) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >>18) >> at >> gov.lanl.Database.OJBDatabaseMgr.insertElement(OJBDatabaseMgr.java:302) >> at >> gov.lanl.COAS.ObservationMgrImpl.add_observation(ObservationMgrImpl.java:648 >>) >> at >> gov.lanl.COAS.ObservationMgrImpl.<init>(ObservationMgrImpl.java:211) >> at >> gov.lanl.COAS.ObservationComponentImpl.init(ObservationComponentImpl.java:23 >>6) >> at >> gov.lanl.COAS.ObservationComponentImpl.main(ObservationComponentImpl.java:32 >>0) >>Caused by: ojb.broker.PersistenceBrokerException >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >>Impl.java:447) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >>305) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >>18) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >>Impl.java:438) >> ... 7 more >>Caused by: ojb.broker.PersistenceBrokerException >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI >>mpl.java:351) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1 >>303) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >>18) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBroker >>Impl.java:438) >> ... 10 more >>Caused by: java.lang.ArrayIndexOutOfBoundsException >> at >>ojb.broker.accesslayer.JdbcAccess.getSqlTypePk(JdbcAccess.java:557) >> at >> ojb.broker.accesslayer.StatementManager.bindSelect(StatementManager.java:325 >>) >> at >> ojb.broker.accesslayer.JdbcAccess.materializeObject(JdbcAccess.java:326) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:3 >>13) >> at >> ojb.broker.singlevm.PersistenceBrokerImpl.storeReferences(PersistenceBrokerI >>mpl.java:344) >> ... 13 more >>Any ideas? Is it something to do with the cache? >>Thanks, >>Dave >> >>_______________________________________________________________ >>Have big pipes? SourceForge.net is looking for download mirrors. We supply >>the hardware. You get the recognition. Email Us: ban...@so... >>_______________________________________________ >>Objectbridge-developers mailing list >>Obj...@li... >>https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >>_______________________________________________________________ >>Have big pipes? SourceForge.net is looking for download mirrors. We supply >>the hardware. You get the recognition. Email Us: ban...@so... >>_______________________________________________ >>Objectbridge-developers mailing list >>Obj...@li... >>https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >> > |