Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#152180: Split libbatik-java and make command line tools available

1 view
Skip to first unread message

Petter Reinholdtsen

unread,
May 20, 2006, 6:00:18 AM5/20/06
to

I did some more testing, and discovered that the svgbrowser program
need the xercesImpl jar as well. But it still does not run properly
with the new Classpath library. I tested using jamvm and the CVS
version of classpath.

I also tried with SUN Java, and it fail to run with that one too. I
get this error in the terminal, as well as a error popup described
below.

% /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/bin/java \
-cp /usr/share/java/xercesImpl.jar:/usr/share/java/batik-all.jar \
org/apache/batik/apps/svgbrowser/Main
java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.net.Authenticator.setDefault(Authenticator.java:110)
at org.apache.batik.apps.svgbrowser.Main.<init>(Unknown Source)
at org.apache.batik.apps.svgbrowser.Main.main(Unknown Source)
[had to use ^C to get out]
%
The popup look like this

SVG Error:
null
[Show Details] [OK]

when I press 'Show Details', I get this stack trace:

java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:365)
at java.util.Properties.load(Properties.java:293)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.resolveEntity(Unknown Source)
at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Unknown Source)
at org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
at org.apache.batik.swing.svg.SVGDocumentLoader.run(Unknown Source)

Based on this, I am not sure if the applications are supposed to work,
and neither if it is useful to provide wrappers for them in /usr/bin/.

Friendly,
--
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages