Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » NullPointerException in getFullyQualifiedName
NullPointerException in getFullyQualifiedName [message #757680] Mon, 21 November 2011 09:05 Go to next message
lin.lin is currently offline lin.linFriend
Messages: 17
Registered: September 2011
Junior Member
An null pointer exception throwed from DefaultDeclarativeQualifiedNameProvider, when I try to "Run As"->"Eclipse Application". I am using Xtext 2.1.

0 [Worker-0] ERROR org.eclipse.xtext.builder.impl.XtextBuilder -
java.lang.NullPointerException
at org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.getFullyQualifiedName(DefaultDeclarativeQualifiedNameProvider.java:58)

What I did:
1. create an empty Xtext project
2. copied content of Dsl.xtext and DslGenerator.xtend to the workspace from old project
3. modified the 'GenerateDsl.mwe2" to remove the Xbase stuff.


Please advice, thanks a lot!

~peter lin

Re: NullPointerException in getFullyQualifiedName [message #758144 is a reply to message #757680] Tue, 22 November 2011 05:35 Go to previous message
lin.lin is currently offline lin.linFriend
Messages: 17
Registered: September 2011
Junior Member
I tried the greeting syntax comes with default project creation, the getFullyQualifiedName will not throw. So it should be a problem in my model, I am checking.
Previous Topic:getting rid of warning "Disabling JDT..."?
Next Topic:Generating with xtend and MWE2
Goto Forum:
  


Current Time: Fri Apr 26 03:03:17 GMT 2024

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

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

Back to the top