|
Re: [CDO] ClassRef unresolveable [message #425272 is a reply to message #425262] |
Fri, 21 November 2008 12:24 |
|
David,
Yes, please file a bugzilla and attach you test case. Ideally you're
able to reproduce your problem by using the test models shipped with the
CDO SDK and by extending AbstractCDOTest like all our tests do.
Cheers
/Eike
----
http://thegordian.blogspot.com
David Bonneau schrieb:
> Hi
>
> I start a new thread. I still have the problem I talk in a previous
> thread :
> http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg3 7032.html
>
> I'm upgrade from CDO 1.0.0 to CDO 1.0.3 and I have the following
> exception :
> [ERROR] ClassRef unresolveable:
> CDOClassRef(http://www.example.com/expression, 22)
> java.lang.IllegalStateException: ClassRef unresolveable:
> CDOClassRef(http://www.example.com/expression, 22)
> at
> org.eclipse.emf.cdo.internal.common.revision.CDORevisionImpl . <init>(CDORevisionImpl.java:117)
>
>
> at
> org.eclipse.emf.cdo.common.revision.CDORevisionUtil.read(CDO RevisionUtil.java:48)
>
>
> at
> org.eclipse.emf.cdo.internal.server.protocol.CommitTransacti onIndication.indicating(CommitTransactionIndication.java:95)
>
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(Indi cationWithResponse.java:46)
>
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:143)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:124)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:885)
>
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:907)
>
>
> at java.lang.Thread.run(Thread.java:619)
>
> I search in the cdo code and I presume a bug after the 245016
> correction (https://bugs.eclipse.org/bugs/show_bug.cgi?id=245016). It
> is in the analyzeNewPackaged method of CDOTransactionImpl class; line
> 452, now you use a PackageClosure to compute the used packages. If I
> go back to the previous code (no PackageClosure but a call to
> CDOPackage.getSubPackage) it works !
>
> I also made a little JUnit test to reproduce the problem.
>
> Would you like I open a bugzilla ? Can I post my JUnit test on bugzilla ?
>
> David
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03289 seconds