Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343417 - Invalid type: org.eclipse.emf.cdo.common.revision.CDORevisionUtil$Uninitialized
Summary: Invalid type: org.eclipse.emf.cdo.common.revision.CDORevisionUtil$Uninitialized
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 10:17 EDT by Erdal Karaca CLA
Modified: 2013-06-27 03:33 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erdal Karaca CLA 2011-04-20 10:17:19 EDT
Build Identifier: 

In reply to this forum thread: http://www.eclipse.org/forums/index.php?t=msg&th=208033&start=0&S=b2b7ff92c2473681a0989ef780b52bf5



Reproducible: Always
Comment 1 Eike Stepper CLA 2011-04-21 02:25:26 EDT
A little bit more enthusiams when writing support requests would be appreciated. A link to a forum thread can only augment a bugzilla description and why do I have to make this stack trace clickable?

java.lang.IllegalArgumentException:Invalidtype:org.eclipse.emf.cdo.common.revision.CDORevisionUtil$Uninitialized
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.type(CDOServerExporter.java:691)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportFeature(CDOServerExporter.java:571)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportFeature(CDOServerExporter.java:526)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportRevision(CDOServerExporter.java:505)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportRevision(CDOServerExporter.java:1)
at org.eclipse.emf.cdo.server.CDOServerExporter$2.handleRevision(CDOServerExporter.java:186)
at org.eclipse.emf.cdo.server.internal.db.DBRevisionHandler.handleRevision(DBRevisionHandler.java:38)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractHorizontalClassMapping.handleRevisions(AbstractHorizontalClassMapping.java:627)
at org.eclipse.emf.cdo.server.internal.db.mapping.AbstractMappingStrategy.handleRevisions(AbstractMappingStrategy.java:191)
at org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.HorizontalMappingStrategy.handleRevisions(HorizontalMappingStrategy.java:210)
at org.eclipse.emf.cdo.server.internal.db.DBStoreAccessor.handleRevisions(DBStoreAccessor.java:1082)
at org.eclipse.emf.cdo.internal.server.Repository.handleRevisions(Repository.java:1311)
at org.eclipse.emf.cdo.server.CDOServerExporter.exportRevisions(CDOServerExporter.java:180)
at org.eclipse.emf.cdo.server.CDOServerExporter.exportBranch(CDOServerExporter.java:175)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportBranch(CDOServerExporter.java:453)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportBranch(CDOServerExporter.java:1)
at org.eclipse.emf.cdo.server.CDOServerExporter.exportBranches(CDOServerExporter.java:152)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportBranches(CDOServerExporter.java:436)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportBranches(CDOServerExporter.java:1)
at org.eclipse.emf.cdo.server.CDOServerExporter.exportAll(CDOServerExporter.java:108)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportAll(CDOServerExporter.java:391)
at org.eclipse.emf.cdo.server.CDOServerExporter$XML.exportAll(CDOServerExporter.java:1)
at org.eclipse.emf.cdo.server.CDOServerExporter.exportRepository(CDOServerExporter.java:87)
Comment 2 Erdal Karaca CLA 2011-04-21 04:55:50 EDT
I promise to improve on bug reporting :-)
Comment 3 Eike Stepper CLA 2012-06-05 07:30:58 EDT
Moving all open bug reports to 4.1 because the release is very near and it's hghly unlikely that there will be spare time to address 4.0 problems.

Please make sure that your patches can be applied against the master branch and that your problem is not already fixed there!!!
Comment 4 Eike Stepper CLA 2012-08-14 22:58:07 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 5 Eike Stepper CLA 2012-10-31 14:48:08 EDT
I'm adding the following code to CDOServerExporter.XML.exportRevision(XMLOutput, CDORevision):

      InternalRepository repository = (InternalRepository)getRepository();
      repository.ensureChunks(rev);

Now that we have InternalCDORevision.isUnchunked() the impact on UNCHUNKED revisions is almost zero.
Comment 6 Eike Stepper CLA 2012-10-31 14:49:00 EDT
commit 2424f28210e1ddc7d3205388e5c09b7b99ea1636
Comment 7 Eike Stepper CLA 2013-06-27 03:33:48 EDT
Available in R20130613-1157 (4.2)