Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] ClassRef unresolveable
[CDO] ClassRef unresolveable [message #425262] Fri, 21 November 2008 09:28 Go to next message
David Bonneau is currently offline David BonneauFriend
Messages: 28
Registered: July 2009
Junior Member
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
Re: [CDO] ClassRef unresolveable [message #425272 is a reply to message #425262] Fri, 21 November 2008 12:24 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6478
Registered: July 2009
Senior Member
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


Re: [CDO] ClassRef unresolveable [message #425274 is a reply to message #425262] Fri, 21 November 2008 12:42 Go to previous message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Yes please open a bugzilla with your testcase!!!

Thank you

Simon

David Bonneau wrote:
> 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
Previous Topic:[Teneo] JpoxStoreException initializing dataStore when object uses Enumerator
Next Topic:XSD to Ecore Union Enum h pattern
Goto Forum:
  


Current Time: Thu Feb 20 13:24:46 GMT 2020

Powered by FUDForum. Page generated in 0.02784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top