0

7.12 と 8.0 で奇妙なエラーが発生しました。1 つのオブジェクトを双方向に複製しようとしています。どちらも db4o データベースであり、クライアントは埋め込みを介してローカル データベースに接続し、db4o サーバーに接続してレプリケーションを開始します。

システムは Mac OS X 10.7.3、Java バージョン:

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

サーバー上のエラーは次のとおりです。

objc[7665]: Object 0x7ff03c0020e0 of class __NSArrayM autoreleased with no pool in place
- just leaking - break on objc_autoreleaseNoPool() to debug

クライアントのエラーは次のとおりです。

java.lang.NullPointerException
at com.db4o.internal.handlers.array.MultidimensionalArrayIterator.moveNext(MultidimensionalArrayIterator.java:47)
at com.db4o.internal.handlers.array.MultidimensionalArrayHandler.writeElements(MultidimensionalArrayHandler.java:99)
at com.db4o.internal.handlers.array.ArrayHandler.write(ArrayHandler.java:407)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:272)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:260)
at com.db4o.internal.handlers.array.ArrayHandler.writeElements(ArrayHandler.java:422)
at com.db4o.internal.handlers.array.ArrayHandler.write(ArrayHandler.java:407)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:272)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.marshall.MarshallingContext.writeObject(MarshallingContext.java:252)
at com.db4o.internal.marshall.MarshallingContext.writeObjectWithCurrentState(MarshallingContext.java:266)
at com.db4o.internal.FieldMetadata.marshall(FieldMetadata.java:775)
at com.db4o.internal.handlers.StandardReferenceTypeHandler$4.processAspect(StandardReferenceTypeHandler.java:155)
at com.db4o.internal.metadata.MarshallingInfoTraverseAspectCommand.processAspect(MarshallingInfoTraverseAspectCommand.java:52)
at com.db4o.internal.metadata.StandardAspectTraversalStrategy.traverseAllAspects(StandardAspectTraversalStrategy.java:24)
at com.db4o.internal.ClassMetadata.traverseAllAspects(ClassMetadata.java:2089)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.traverseAllAspects(StandardReferenceTypeHandler.java:258)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.marshallAspects(StandardReferenceTypeHandler.java:163)
at com.db4o.internal.handlers.StandardReferenceTypeHandler.write(StandardReferenceTypeHandler.java:123)
at com.db4o.internal.Handlers4.write(Handlers4.java:309)
at com.db4o.internal.ObjectReference.continueSet(ObjectReference.java:171)
at com.db4o.internal.ObjectContainerBase.stillToSet(ObjectContainerBase.java:1900)
at com.db4o.internal.ObjectContainerBase.store3(ObjectContainerBase.java:1721)
at com.db4o.internal.ObjectContainerBase.store2(ObjectContainerBase.java:1650)
at com.db4o.internal.ObjectContainerBase.storeAfterReplication(ObjectContainerBase.java:1632)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1618)
at com.db4o.internal.ObjectContainerBase$10.apply(ObjectContainerBase.java:1616)
at com.db4o.internal.ObjectContainerBase.asTopLevelCall(ObjectContainerBase.java:437)
at com.db4o.internal.ObjectContainerBase.asTopLevelStore(ObjectContainerBase.java:423)
at com.db4o.internal.ObjectContainerBase.storeInternal(ObjectContainerBase.java:1616)
at com.db4o.internal.TransportObjectContainer.storeInternal(TransportObjectContainer.java:191)
at com.db4o.internal.ObjectContainerBase.store(ObjectContainerBase.java:1598)
at com.db4o.internal.ExternalObjectContainer.store(ExternalObjectContainer.java:154)
at com.db4o.internal.ExternalObjectContainer.store(ExternalObjectContainer.java:141)
at com.db4o.internal.Serializer.marshall(Serializer.java:26)
at com.db4o.internal.query.processor.QConEvaluation.marshallUsingDb4oFormat(QConEvaluation.java:56)
at com.db4o.internal.query.processor.QConEvaluation.marshall(QConEvaluation.java:45)
at com.db4o.internal.query.processor.QCon.marshall(QCon.java:531)
at com.db4o.internal.query.processor.QConObject.marshall(QConObject.java:262)
at com.db4o.internal.query.processor.QConClass.marshall(QConClass.java:108)
at com.db4o.internal.query.processor.QQueryBase.marshall(QQueryBase.java:766)
at com.db4o.cs.internal.ClientObjectContainer.executeQuery(ClientObjectContainer.java:972)
at com.db4o.internal.query.processor.QQueryBase.executeQuery(QQueryBase.java:476)
at com.db4o.internal.query.processor.QQueryBase.getQueryResult(QQueryBase.java:471)
at com.db4o.internal.query.processor.QQueryBase$3.run(QQueryBase.java:340)
at com.db4o.internal.query.processor.QQueryBase$3.run(QQueryBase.java:339)
at com.db4o.internal.query.processor.QQueryBase.triggeringQueryEvents(QQueryBase.java:574)
at com.db4o.internal.query.processor.QQueryBase.execute(QQueryBase.java:339)
at com.db4o.internal.query.NativeQueryHandler.execute(NativeQueryHandler.java:44)
at com.db4o.internal.ObjectContainerBase.query(ObjectContainerBase.java:1375)
at com.db4o.internal.ExternalObjectContainer.query(ExternalObjectContainer.java:120)
at com.db4o.internal.ExternalObjectContainer.query(ExternalObjectContainer.java:116)
at au.com.kingdomsolutions.tt.Views.MainWindow$6.widgetSelected(MainWindow.java:247)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at au.com.kingdomsolutions.tt.Views.MainWindow.open(MainWindow.java:86)
at au.com.kingdomsolutions.tt.TeamTasks.main(TeamTasks.java:105)
Closing database connection.
[db4o 7.12.250.16103   2012-05-15 07:44:47] 
'/Users/dmuse/.tt/tt.db4o' closed by ShutdownHook.

私は数日間それを機能させようとしてきましたが、あまりうまくいきませんでした。

例外は配列に関連しているようですが、オブジェクトで配列のようなものを使用していません。ただし、これは内部の db4o 構造である可能性があります。

とにかく、すべての助けに感謝します!

乾杯

4

1 に答える 1

1

うーん、2 番目のスタック トレースにレプリケーション スタック フレームが表示されず、ネイティブ クエリのみが表示されます。

メッセージ「objc[7665]: クラス __NSArrayM のオブジェクト 0x7ff03c0020e0 は、プールが配置されていない状態で自動解放されました - ただリークしています - objc_autoreleaseNoPool() で中断してデバッグしてください」

私には非常に疑わしく見えます。db4o が MacOS 内部のもので UI オブジェクトを保存またはシリアライズしようとしているように。通常の Java オブジェクトが __NSArray と参照カウントを使用しているとは思えません。

このことから、サーバーに対してネイティブ クエリを実行していると推測できます。そのクエリはSODAに変換できませんでした。その場合、db4o は query-object をシリアライズしてサーバーに送信しようとします。クエリはおそらく内部クラスであり、GUI オブジェクトを含む外部コンテキストを参照します。そして、それがこの問題を引き起こします。

私の推奨事項: サーバーに対するクエリには SODA クエリのみを使用してください。ネイティブ クエリは、クライアント サーバー モードで多くの問題を抱えています。この問題の原因となるクエリを SODA クエリに変更し、問題が解決するかどうかを確認します。

于 2012-05-15T09:35:36.510 に答える