Thanks for your reply, as you wrote I created a library in the Library Manager with batik-all.jar, sources, sources-1.3, sources-1.4 and documentation-sources.

To build the jars I did

./build.sh clean
./build.sh all-jars

When the exception occurs I still cannot set a break point in the relevant file for this exception:

java.lang.NullPointerException
at org.apache.batik.bridge.svg12.DefaultXBLManager.stopProcessing(DefaultXBLManager.java:255) at org.apache.batik.dom.AbstractDocument.setXBLManager(AbstractDocument.java:1722) at org.apache.batik.bridge.UpdateManager.initializeScriptingEnvironment(UpdateManager.java:208) at org.apache.batik.bridge.UpdateManager.<init>(UpdateManager.java:167) at org.apache.batik.swing.svg.AbstractJSVGComponent.startSVGLoadEventDispatcher(AbstractJSVGComponent.java:878) at org.apache.batik.swing.svg.AbstractJSVGComponent$SVGListener.gvtBuildCompleted(AbstractJSVGComponent.java:1537) at org.apache.batik.swing.svg.GVTTreeBuilder$2.dispatch(GVTTreeBuilder.java:163) at org.apache.batik.util.EventDispatcher.dispatchEvent(EventDispatcher.java:103) at org.apache.batik.util.EventDispatcher.fireEvent(EventDispatcher.java:87) at org.apache.batik.util.EventDispatcher$1.run(EventDispatcher.java:46) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) <-- *** can see sources up to this point ****
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Anything I have missed out?

Tom


On Wed, 23 Jan 2008 15:37:11 -0000, Bishop, Michael W. CONTR J9C880 <[EMAIL PROTECTED]> wrote:

Under NetBeans 6, I make Batik a library in the Library Manager and
mount JAR files, source trees, and JavaDocs.

Michael Bishop

-----Original Message-----
From: Tom McCallum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 9:54 AM
To: batik-users@xmlgraphics.apache.org
Subject: Compiling with sources

Quick problem,  this is what I did to compile the sources in
the jar file so that I can debug an exception I am getting
from within Batik with Netbeans 6 Java debug mode:

./build.sh clean
Edit build.xml and turn debug=on, optimise=on, deprecated=on
./build.sh all-jars

Builds but still no source information.  I am using Netbeans
6 as my IDE.
I have also tried:

./build.sh clean
Edit build.xml and turn debug=on, optimise=off,
deprecated=off ./build.sh all-jars

./build.sh clean
Edit build.xml and turn debug=on, optimise=off, deprecated=on
./build.sh all-jars

./build.sh clean
Edit build.xml and turn debug=on, optimise=on, deprecated=on
./build.sh compile ./build.sh jars

With  Batik 1.6 just turning debug=on used to work but cannot
seem to find out why it is not doing it here.

Any help would be appreciated,

Thanks

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thomas McCallum

Director
Gulfstream Software,
Hopeman,
Moray

Email: [EMAIL PROTECTED]

Disclaimer

Gulfstream Software Ltd is a limited company incorporated in Scotland. The contents of this e-mail are privileged and/or confidential. If you are not the intended recipient, please notify the sender and ensure this e-mail is deleted and not read, copied or disclosed. It is your responsibility to scan this e-mail and any attachments for computer viruses or other defects. Gulfstream Software Ltd does not accept liability for any loss or damage which may result from this e-mail or any attachment.

E-mail is not secure and can be intercepted, corrupted or amended. Gulfstream Software Ltd does not accept liability for errors or omissions arising as a result of interrupted or defective transmission. Any views, opinions, conclusions or other information in this e-mail which do not relate to the business of Gulfstream Software Ltd are not authorised by Gulfstream Software Ltd.

Unless specifically stated and authorised by Gulfstream Software Ltd, nothing in this e-mail shall be taken to be an offer or acceptance of any contract of any nature. Under the Regulation of Investigatory Powers Act 2000 Gulfstream Software Ltd's e-mail and internet systems is subject to random monitoring and recording by or on behalf of Gulfstream Software Ltd.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to