Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » JET Null Pointer Exception & XPath Axes
|
Re: JET Null Pointer Exception & XPath Axes [message #76033 is a reply to message #76002] |
Tue, 20 March 2007 12:34 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Toby,
Please use the M2T newsgroup for JET2 questions. I've added it to the
to list, so you can keep using this thread.
Toby Myers wrote:
> Hello All,
>
> I have just started using JET and I am having a problem with the
> default files from the EMFT JET Transformation Project. When I run
> the files I receive the error:
>
> templates/dump.jet(2,1): <c:dump entities="true" format="true"
> select="/*">
> Error: Error executing tag handler: java.lang.NullPointerException
>
> Does anyone know why this is happening?
>
> Also I read an old post about JET and XPath expressions that said not
> all the XPath axes are supported. Have any more XPath expressions been
> added since then, especially //. If not, can anyone suggest a good
> workaround?
>
> Cheers,
> Toby
|
|
|
Re: JET Null Pointer Exception & XPath Axes [message #76161 is a reply to message #76002] |
Wed, 21 March 2007 14:56 |
Paul Elder Messages: 849 Registered: July 2009 |
Senior Member |
|
|
Toby:
In the future, please post messages to eclipse.modeling.m2t - I've cross
posted this response.
Please submit a bugzilla for the NPE:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org&qa_contact=
As for the supported axes, here is the current list:
attribute:: and the @ abbreviation
child:: and its abbreviated form
descendantOrSelf:: and the // abbreviation
parent:: and its .. abbreviation
self:: and its . abbreviation
If you need more, please submit an bugzilla enhancement.
Thanks for you interest,
Paul
"Toby Myers" <Toby.Myers@student.gu.edu.au> wrote in message
news:etn981$pa2$1@utils.eclipse.org...
> Hello All,
>
> I have just started using JET and I am having a problem with the default
> files from the EMFT JET Transformation Project. When I run the files I
> receive the error:
>
> templates/dump.jet(2,1): <c:dump entities="true" format="true"
> select="/*">
> Error: Error executing tag handler: java.lang.NullPointerException
>
> Does anyone know why this is happening?
>
> Also I read an old post about JET and XPath expressions that said not all
> the XPath axes are supported. Have any more XPath expressions been added
> since then, especially //. If not, can anyone suggest a good workaround?
>
> Cheers,
> Toby
>
|
|
|
Re: JET Null Pointer Exception & XPath Axes [message #603734 is a reply to message #76002] |
Tue, 20 March 2007 12:34 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Toby,
Please use the M2T newsgroup for JET2 questions. I've added it to the
to list, so you can keep using this thread.
Toby Myers wrote:
> Hello All,
>
> I have just started using JET and I am having a problem with the
> default files from the EMFT JET Transformation Project. When I run
> the files I receive the error:
>
> templates/dump.jet(2,1): <c:dump entities="true" format="true"
> select="/*">
> Error: Error executing tag handler: java.lang.NullPointerException
>
> Does anyone know why this is happening?
>
> Also I read an old post about JET and XPath expressions that said not
> all the XPath axes are supported. Have any more XPath expressions been
> added since then, especially //. If not, can anyone suggest a good
> workaround?
>
> Cheers,
> Toby
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: JET Null Pointer Exception & XPath Axes [message #603763 is a reply to message #76002] |
Wed, 21 March 2007 14:56 |
Paul Elder Messages: 849 Registered: July 2009 |
Senior Member |
|
|
Toby:
In the future, please post messages to eclipse.modeling.m2t - I've cross
posted this response.
Please submit a bugzilla for the NPE:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org&qa_contact=
As for the supported axes, here is the current list:
attribute:: and the @ abbreviation
child:: and its abbreviated form
descendantOrSelf:: and the // abbreviation
parent:: and its .. abbreviation
self:: and its . abbreviation
If you need more, please submit an bugzilla enhancement.
Thanks for you interest,
Paul
"Toby Myers" <Toby.Myers@student.gu.edu.au> wrote in message
news:etn981$pa2$1@utils.eclipse.org...
> Hello All,
>
> I have just started using JET and I am having a problem with the default
> files from the EMFT JET Transformation Project. When I run the files I
> receive the error:
>
> templates/dump.jet(2,1): <c:dump entities="true" format="true"
> select="/*">
> Error: Error executing tag handler: java.lang.NullPointerException
>
> Does anyone know why this is happening?
>
> Also I read an old post about JET and XPath expressions that said not all
> the XPath axes are supported. Have any more XPath expressions been added
> since then, especially //. If not, can anyone suggest a good workaround?
>
> Cheers,
> Toby
>
|
|
|
Goto Forum:
Current Time: Sat Apr 20 00:42:42 GMT 2024
Powered by FUDForum. Page generated in 0.03071 seconds
|