Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Missing line numbers on errors #71

Open
glassfishrobot opened this issue Mar 17, 2014 · 2 comments
Open

Missing line numbers on errors #71

glassfishrobot opened this issue Mar 17, 2014 · 2 comments

Comments

@glassfishrobot
Copy link
Contributor

If a wadl is interpreted with wadl2java and the wadl is bugged, no line numbers are outputtet, eg:

ERROR: 'The element type "request" must be terminated by the matching end-tag "".'
ERROR: 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".'
Exception in thread "main" java.lang.RuntimeException: Internal error
at org.jvnet.ws.wadl.ast.WadlAstBuilder.buildAst(WadlAstBuilder.java:116)
at org.jvnet.ws.wadl2java.Wadl2Java.process(Wadl2Java.java:431)
at org.jvnet.ws.wadl2java.Main.main(Main.java:143)
Caused by: javax.xml.bind.JAXBException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".

  • with linked exception:
    [javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".]
    at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:543)
    at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:502)
    at org.jvnet.ws.wadl.ast.WadlAstBuilder.buildAst(WadlAstBuilder.java:113)
    ... 2 more
    Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:744)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:345)
    at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:541)
    ... 4 more
    Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:573)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:734)
    ... 6 more
    Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "request" must be terminated by the matching end-tag "".
    at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:460)
    at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:248)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:551)
    ... 7 more

This is in current newest version (1.1.6)

Affected Versions

[current]

@glassfishrobot
Copy link
Contributor Author

Reported by jkidd

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA WADL-71

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants