Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JET error
JET error [message #600520] Wed, 03 January 2007 08:41
Eclipse UserFriend
Originally posted by:


I am using JET to generate code from an EMF model.
I have done the following steps on my JET transformation project and I have
a ecore model
created by importing the example library.xsd
a.. Open the plugin.xml file in the root of the JET transformation
b.. Switch to the 'Extensions' tab.
c.. Find the 'org.eclipse.jet.transform' extension in the 'All Extensions'
tree, and expand it to reveal the 'transform' child element.
d.. Select the 'transform' element, and enter org.eclipse.jet.xml in the
'modelLoader' field.
However, on attempting to run a simple JET template

<%@taglib prefix="c" id="org.eclipse.jet.controlTags" %>
<c:load url="library.xml" var="pluginXML"/>
class <c:get select="$library/books/@title" />Person {
public String getTitle() {
return "<c:get select="$library/books/@title" />";
public String getAuthor() {
return "<c:get select="$library/books/@author" />";

I get the following error.

Exception in thread "main" java.lang.NullPointerException
org.eclipse.jet.internal.runtime.TagFactoryImpl.createRuntim eTag(
at jet2java.Transform$1.createRuntimeTag(
at org.eclipse.jet.compiled._jet_test.generate( 4)
at jet2java.Transform.main(

Pls let me know what I could be doing wrong.

Previous Topic:teneo - @OrderBy not processed?
Next Topic:Using JET on xsd compliant xml
Goto Forum:

Current Time: Thu Feb 25 22:28:06 GMT 2021

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

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

Back to the top