Trang Exception java.lang.NullPointerException

Bug #1359208 reported by tonyw
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
trang (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ref: 20131210+dfsg+1-1 (trusty)

Trang appears to be broken on 14.04 (trusty). A simple command e.g.

trang -I dtd -O xsd test.dtd test.xml

always fails with

Exception in thread "main" java.lang.NullPointerException
 at com.thaiopensource.xml.em.ResolverUriEntityManager.open(ResolverUriEntityManager.java:56)
 at com.thaiopensource.xml.em.ResolverUriEntityManager.open(ResolverUriEntityManager.java:27)
 at com.thaiopensource.xml.dtd.parse.DtdParserImpl.parse(DtdParserImpl.java:14)
 at com.thaiopensource.relaxng.input.dtd.DtdInputFormat.load(DtdInputFormat.java:144)
 at com.thaiopensource.relaxng.translate.Driver.run(Driver.java:135)
 at com.thaiopensource.relaxng.translate.Driver.main(Driver.java:44)

It is believe that this is the same bug as both reported and fixed by "Issue 177: NullPointerException running trang 20131210"

See https://code.google.com/p/jing-trang/issues/detail?id=177

Tags: patch
Changed in trang (Ubuntu):
status: New → In Progress
assignee: nobody → Filip Sohajek (filip-sohajek)
Changed in trang (Ubuntu):
assignee: Filip Sohajek (filip-sohajek) → nobody
status: In Progress → Confirmed
Revision history for this message
Sascha Manns (sascha-manns-h) wrote :

Is the patch above already integrated?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "trang.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sascha Manns (sascha-manns-h) wrote :

This diff based on the actual sources.

Revision history for this message
Sascha Manns (sascha-manns-h) wrote :

This diff based on the actual sources.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.