Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Updating resource description takes forever(Problems with xtext/emf)
icon9.gif  Updating resource description takes forever [message #897783] Wed, 25 July 2012 09:00 Go to next message
Svenja Wendler is currently offline Svenja WendlerFriend
Messages: 4
Registered: July 2012
Junior Member
Hello,

currently I have a problem with my Xtext project. I use a genmodel created by myself from several ecore models. When I build my workspace the operation:

"Updating resource description for xhtml.ecore" takes forever. I cannot cancel it. I need to kill eclipse.

The problem lies in the xhtml.ecore file created by emf. It has ~12.000 lines.

I think the problem lies in the class

I found bugs that had similar problems Bug Eclipse 372527, code google com/p/protobuf-dt/issues/detail?id=206

I work with:
Eclipse SDK

Version: 4.2.0
Build id: I20120608-1400

Xtext SDK 2.3.0.v201206120633


I will attach the project. I hope you can help me.

Thanks in advance.

Svenja
Re: Updating resource description takes forever [message #898077 is a reply to message #897783] Wed, 25 July 2012 18:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

guess this is the http://www.w3.org/1999/xhtml/datatypes/ http://www.w3.org/1999/xhtml etc problem.
w3 doesnt like java programs polling their dtd and makes this very very slow.

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Updating resource description takes forever [message #898079 is a reply to message #898077] Wed, 25 July 2012 18:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Here the corresponding stack trace


Thread [Worker-4] (Suspended)
owns: BufferedInputStream (id=674)
owns: HttpURLConnection (id=675)
owns: ClusteringBuilderState (id=68)
SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]
SocketInputStream.read(byte[], int, int, int) line: not available
SocketInputStream.read(byte[], int, int) line: not available
BufferedInputStream.fill() line: not available
BufferedInputStream.read1(byte[], int, int) line: not available
BufferedInputStream.read(byte[], int, int) line: not available
HttpClient.parseHTTPHeader(MessageHeader, ProgressSource, HttpURLConnection) line: not available
HttpClient.parseHTTP(MessageHeader, ProgressSource, HttpURLConnection) line: not available
HttpURLConnection.getInputStream() line: not available
URIHandlerImpl.createInputStream(URI, Map<?,?>) line: 172
XtextResourceSet$1(ExtensibleURIConverterImpl).createInputStream(URI, Map<?,?>) line: 354
SAXXMIHandler(XMLHandler).resolveEntity(String, String) line: 804
EntityResolverWrapper.resolveEntity(XMLResourceIdentifier) line: not available
XMLEntityManager.resolveEntityAsPerStax(XMLResourceIdentifier) line: not available
XMLEntityManager.startEntity(String, boolean) line: not available
XMLDTDScannerImpl.startPE(String, boolean) line: not available
XMLDTDScannerImpl.skipSeparator(boolean, boolean) line: not available
XMLDTDScannerImpl.scanDecls(boolean) line: not available
XMLDTDScannerImpl.scanDTDExternalSubset(boolean) line: not available
XMLDocumentScannerImpl$DTDDriver.dispatch(boolean) line: not available
XMLDocumentScannerImpl$DTDDriver.next() line: not available [local variables unavailable]
XMLDocumentScannerImpl$PrologDriver.next() line: not available
XMLDocumentScannerImpl.next() line: not available
XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean) line: not available
XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean) line: not available
XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource) line: not available
SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: not available
SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource) line: not available
SAXParserImpl$JAXPSAXParser.parse(InputSource) line: not available
SAXParserImpl.parse(InputSource, DefaultHandler) line: not available
XMILoadImpl(XMLLoadImpl).load(XMLResource, InputStream, Map<?,?>) line: 175
XMIResourceImpl(XMLResourceImpl).doLoad(InputStream, Map<?,?>) line: 240
XMIResourceImpl(ResourceImpl).load(InputStream, Map<?,?>) line: 1505
SAXXMIHandler(XMLHandler).getPackageForURI(String) line: 2536
SAXXMIHandler(XMLHandler).getFactoryForPrefix(String) line: 2416
SAXXMIHandler(XMLHandler).createObjectByType(String, String, boolean) line: 1293
SAXXMIHandler(XMLHandler).createTopObject(String, String) line: 1462
SAXXMIHandler(XMLHandler).processElement(String, String, String) line: 1013
SAXXMIHandler(XMIHandler).processElement(String, String, String) line: 77
SAXXMIHandler(XMLHandler).startElement(String, String, String) line: 995
SAXXMIHandler(XMLHandler).startElement(String, String, String, Attributes) line: 706
SAXXMIHandler(XMIHandler).startElement(String, String, String, Attributes) line: 163
SAXParserImpl$JAXPSAXParser(AbstractSAXParser).startElement(QName, XMLAttributes, Augmentations) line: not available
XMLDTDValidator.startElement(QName, XMLAttributes, Augmentations) line: not available
XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanStartElement() line: not available
XMLDocumentScannerImpl$ContentDriver.scanRootElementHook() line: not available
XMLDocumentScannerImpl$ContentDriver(XMLDocumentFragmentScannerImpl$FragmentContentDriver).next() line: not available
XMLDocumentScannerImpl$PrologDriver.next() line: not available
XMLDocumentScannerImpl.next() line: not available
XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean) line: not available
XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean) line: not available
XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource) line: not available
SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: not available
SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource) line: not available
SAXParserImpl$JAXPSAXParser.parse(InputSource) line: not available
SAXParserImpl.parse(InputSource, DefaultHandler) line: not available
XMILoadImpl(XMLLoadImpl).load(XMLResource, InputStream, Map<?,?>) line: 175
XMIResourceImpl(XMLResourceImpl).doLoad(InputStream, Map<?,?>) line: 240
XMIResourceImpl(ResourceImpl).load(InputStream, Map<?,?>) line: 1505
XMIResourceImpl(ResourceImpl).load(Map<?,?>) line: 1284
XtextResourceSet(ResourceSetImpl).demandLoad(Resource) line: 259
XtextResourceSet(ResourceSetImpl).demandLoadHelper(Resource) line: 274
XtextResourceSet.getResource(URI, boolean) line: 159
XtextResourceSet(ResourceSetImpl).getEObject(URI, boolean) line: 220
EcoreUtil.resolve(EObject, ResourceSet) line: 197
EcoreUtil.resolve(EObject, EObject) line: 257
EAttributeImpl(BasicEObjectImpl).eResolveProxy(InternalEObject) line: 1473
EAttributeImpl(ETypedElementImpl).getEType() line: 315
EAttributeImpl.eGet(int, boolean, boolean) line: 240
EAttributeImpl(BasicEObjectImpl).eGet(EStructuralFeature, boolean, boolean) line: 1011
EAttributeImpl(BasicEObjectImpl).eGet(EStructuralFeature, boolean) line: 1003
ENamedElementImpl$2$1(EContentsEList$FeatureIteratorImpl<E>).hasNext() line: 403
EcoreUtil2.resolveCrossReferences(EObject, CancelIndicator) line: 512
EcoreUtil2.resolveAll(Resource, CancelIndicator) line: 483
EcoreUtil2.resolveLazyCrossReferences(Resource, CancelIndicator) line: 496
ClusteringBuilderState.doUpdate(BuildData, ResourceDescriptionsData, IProgressMonitor) line: 204
ClusteringBuilderState(AbstractBuilderState).update(BuildData, IProgressMonitor) line: 105
XtextBuilder.doBuild(ToBeBuilt, IProgressMonitor, IXtextBuilderParticipant$BuildType) line: 159
XtextBuilder.fullBuild(IProgressMonitor, boolean) line: 188
XtextBuilder.build(int, Map, IProgressMonitor) line: 85
BuildManager$2.run() line: 728
SafeRunner.run(ISafeRunnable) line: 42
BuildManager.basicBuild(int, IncrementalProjectBuilder, Map<String,String>, MultiStatus, IProgressMonitor) line: 199
BuildManager.basicBuild(IBuildConfiguration, int, IBuildContext, ICommand[], MultiStatus, IProgressMonitor) line: 239
BuildManager$1.run() line: 292
SafeRunner.run(ISafeRunnable) line: 42
BuildManager.basicBuild(IBuildConfiguration, int, IBuildContext, MultiStatus, IProgressMonitor) line: 295
BuildManager.basicBuildLoop(IBuildConfiguration[], IBuildConfiguration[], int, MultiStatus, IProgressMonitor) line: 351
BuildManager.build(IBuildConfiguration[], IBuildConfiguration[], int, IProgressMonitor) line: 374
AutoBuildJob.doBuild(IProgressMonitor) line: 143
AutoBuildJob.run(IProgressMonitor) line: 241
Worker.run() line: 54


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Updating resource description takes forever [message #898107 is a reply to message #898077] Wed, 25 July 2012 19:41 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Christian,

this looks like this issue here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385718

A possible solution would be to ensure that the plugin registry contains
entries for those URIs, e.g. by registering a generated EPackage or
something.

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 25.07.12 20:09, schrieb Christian Dietrich:
> Hi,
>
> guess this is the http://www.w3.org/1999/xhtml/datatypes/
> http://www.w3.org/1999/xhtml etc problem.
> w3 doesnt like java programs polling their dtd and makes this very very
> slow.
>
> ~Christian
Re: Updating resource description takes forever [message #898313 is a reply to message #898107] Thu, 26 July 2012 07:56 Go to previous messageGo to next message
Svenja Wendler is currently offline Svenja WendlerFriend
Messages: 4
Registered: July 2012
Junior Member
Hi,

I changed my settings to only use generatedEPackages:

	bean = StandaloneSetup { 
		
		scanClassPath = true
		platformUri = "${runtimeProject}/.."// The following two lines can be removed, if Xbase is not used.
		registerGenModelFile = "platform:/resource/com.yakindu.requirements.req/model/reqif10.genmodel"
		registerGeneratedEPackage= "datatypes.DatatypesPackage"
		registerGeneratedEPackage= "xhtml.XhtmlPackage"
		registerGeneratedEPackage="reqif10.Reqif10Package"
	}


But then I get the following Exception

ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems instantiating module com.yakindu.requirements.GenerateRequirements: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: Problems instantiating module com.yakindu.requirements.GenerateRequirements: java.lang.reflect.InvocationTargetException
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:95)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.reflect.InvocationTargetException
at org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:56)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:143)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:142)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
at org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.create(Mwe2ExecutionEngine.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:93)
... 4 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:54)
... 29 more
Caused by: java.lang.ExceptionInInitializerError
at reqif10.impl.Reqif10PackageImpl.init(Reqif10PackageImpl.java:478)
at reqif10.Reqif10Package.<clinit>(Reqif10Package.java:57)
at datatypes.impl.DatatypesPackageImpl.init(DatatypesPackageImpl.java:343)
at datatypes.DatatypesPackage.<clinit>(DatatypesPackage.java:68)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.emf.mwe.internal.core.MWEPlugin.loadClass(MWEPlugin.java:75)
at org.eclipse.emf.mwe.core.resources.ResourceLoaderDefaultImpl.tryLoadClass(ResourceLoaderDefaultImpl.java:38)
at org.eclipse.emf.mwe.core.resources.AbstractResourceLoader.loadClass(AbstractResourceLoader.java:37)
at org.eclipse.emf.mwe.core.resources.ResourceLoaderDefaultImpl.loadClass(ResourceLoaderDefaultImpl.java:28)
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:307)
... 34 more
Caused by: java.lang.RuntimeException: Missing serialized package: xhtml.ecore
at xhtml.impl.XhtmlPackageImpl.loadPackage(XhtmlPackageImpl.java:13639)
at xhtml.impl.XhtmlPackageImpl.init(XhtmlPackageImpl.java:542)
at xhtml.XhtmlPackage.<clinit>(XhtmlPackage.java:83)
... 45 more
Re: Updating resource description takes forever [message #898344 is a reply to message #898313] Thu, 26 July 2012 09:03 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Svenja,

the EPackages are probably too large to create static initializers. EMF
generated dedicated ecore files in these cases that will be loaded at
runtime. Those seem to be missing in your projects.

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 26.07.12 09:56, schrieb Svenja Wendler:
> Hi,
>
> I changed my settings to only use generatedEPackages:
>
>
> bean = StandaloneSetup {
> scanClassPath = true
> platformUri = "${runtimeProject}/.."// The following two lines
> can be removed, if Xbase is not used.
> registerGenModelFile =
> "platform:/resource/com.yakindu.requirements.req/model/reqif10.genmodel"
> registerGeneratedEPackage= "datatypes.DatatypesPackage"
> registerGeneratedEPackage= "xhtml.XhtmlPackage"
> registerGeneratedEPackage="reqif10.Reqif10Package"
> }
>
>
> But then I get the following Exception
>
> ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems instantiating
> module com.yakindu.requirements.GenerateRequirements:
> java.lang.reflect.InvocationTargetException
> java.lang.RuntimeException: Problems instantiating module
> com.yakindu.requirements.GenerateRequirements:
> java.lang.reflect.InvocationTargetException
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:95)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
> Caused by: org.eclipse.emf.common.util.WrappedException:
> java.lang.reflect.InvocationTargetException
> at
> org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:56)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:143)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:114)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalApplyAssignments(Mwe2ExecutionEngine.java:142)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:114)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.inCase(Mwe2ExecutionEngine.java:80)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.internalSwitch(Mwe2ExecutionEngine.java:66)
>
> at
> org.eclipse.emf.mwe2.language.factory.Mwe2ExecutionEngine.create(Mwe2ExecutionEngine.java:62)
>
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:93)
> ... 4 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.eclipse.emf.mwe2.language.factory.SettingProviderImpl$1$1.setValue(SettingProviderImpl.java:54)
>
> ... 29 more
> Caused by: java.lang.ExceptionInInitializerError
> at reqif10.impl.Reqif10PackageImpl.init(Reqif10PackageImpl.java:478)
> at reqif10.Reqif10Package.<clinit>(Reqif10Package.java:57)
> at
> datatypes.impl.DatatypesPackageImpl.init(DatatypesPackageImpl.java:343)
> at datatypes.DatatypesPackage.<clinit>(DatatypesPackage.java:68)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.emf.mwe.internal.core.MWEPlugin.loadClass(MWEPlugin.java:75)
> at
> org.eclipse.emf.mwe.core.resources.ResourceLoaderDefaultImpl.tryLoadClass(ResourceLoaderDefaultImpl.java:38)
>
> at
> org.eclipse.emf.mwe.core.resources.AbstractResourceLoader.loadClass(AbstractResourceLoader.java:37)
>
> at
> org.eclipse.emf.mwe.core.resources.ResourceLoaderDefaultImpl.loadClass(ResourceLoaderDefaultImpl.java:28)
>
> at
> org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:307)
>
> ... 34 more
> Caused by: java.lang.RuntimeException: Missing serialized package:
> xhtml.ecore
> at
> xhtml.impl.XhtmlPackageImpl.loadPackage(XhtmlPackageImpl.java:13639)
> at xhtml.impl.XhtmlPackageImpl.init(XhtmlPackageImpl.java:542)
> at xhtml.XhtmlPackage.<clinit>(XhtmlPackage.java:83)
> ... 45 more
>
Re: Updating resource description takes forever [message #898400 is a reply to message #898313] Thu, 26 July 2012 10:30 Go to previous messageGo to next message
Svenja Wendler is currently offline Svenja WendlerFriend
Messages: 4
Registered: July 2012
Junior Member
I deleted the xhtml.ecore because it caused the above mentioned problems.
Re: Updating resource description takes forever [message #898432 is a reply to message #898400] Thu, 26 July 2012 11:34 Go to previous message
Svenja Wendler is currently offline Svenja WendlerFriend
Messages: 4
Registered: July 2012
Junior Member
Hi, now it works. I enlarged the eclipse memory, cleaned the whole workspace.

Thanks for your suggestions.
Previous Topic:need graphical Editor howto
Next Topic:NoClassDefFoundError for org/slf4j/LoggerFactory upon Xtext generation
Goto Forum:
  


Current Time: Wed Apr 24 23:17:47 GMT 2024

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

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

Back to the top