Skip to main content

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

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( ~[na:na]
	at org.eclipse.xtext.resource.XtextResourceSet.getResource( ~[na:na]
	at org.eclipse.xtext.resource.SynchronizedXtextResourceSet.getResource( ~[na:na]
	at org.openhab.model.core.internal.ModelRepositoryImpl.getResource( ~[na:na]
	at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel( ~[na:na]
	at org.openhab.model.core.internal.folder.FolderObserver.checkFolder( ~[na:na]
	at ~[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!

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: 1602
Registered: July 2009
Senior Member
With all those Xtext stackframes in the log you probably want to ask in
Previous Topic:Hide running Threads while debugging vs suspended threads
Next Topic:6 errors in eclipse neon
Goto Forum:

Current Time: Sat Jun 23 08:40:58 GMT 2018

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

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

Back to the top