Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Runtime ERROR could not initialize class
Runtime ERROR could not initialize class [message #1752298] Fri, 20 January 2017 17:34 Go to next message
Jeffrey Chausse is currently offline Jeffrey ChausseFriend
Messages: 1
Registered: January 2017
Junior Member
Hi,

I'm using Openhab which is itself using Eclipse. When I'm starting the Openhab runtime I'm getting the following error:

12:27:59.765 [ERROR] [.o.m.c.i.folder.FolderObserver:105  ] - An unexpected exception has occured
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.xtext.resource.XtextResourceSet$1
	at org.eclipse.xtext.resource.XtextResourceSet.getURIConverter(XtextResourceSet.java:170) ~[na:na]
	at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:136) ~[na:na]
	at org.eclipse.xtext.resource.SynchronizedXtextResourceSet.getResource(SynchronizedXtextResourceSet.java:23) ~[na:na]
	at org.openhab.model.core.internal.ModelRepositoryImpl.getResource(ModelRepositoryImpl.java:153) ~[na:na]
	at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:71) ~[na:na]
	at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) ~[na:na]
	at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) ~[na:na]


Since nobody could help me on Openhab's forum and this issue seems to be related to Eclipse, I've decided to post it here.

Here's the Java version that is installed:

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)


Thank you for your help!

Jeffrey
Re: Runtime ERROR could not initialize class [message #1752304 is a reply to message #1752298] Fri, 20 January 2017 19:15 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1504
Registered: July 2009
Senior Member
With all those Xtext stackframes in the log you probably want to ask in https://www.eclipse.org/forums/index.php/f/27/
Previous Topic:Hide running Threads while debugging vs suspended threads
Next Topic:6 errors in eclipse neon
Goto Forum:
  


Current Time: Thu Sep 21 12:33:02 GMT 2017

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

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