Hi,

I tried to use the js debugger with the CVS snapshot "batik-cvs-03-10-13.zip"

Batik starts fine and opens the file. But the js-debugger won't start.

Here is the output on my console:
--------------
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at org.apache.batik.apps.svgbrowser.JSVGViewerFrame.showDebugger(Unknown
Source)
        at
org.apache.batik.apps.svgbrowser.JSVGViewerFrame$ToggleDebuggerAction.actionPerformed(Unknown
Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1797)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1850)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
        at java.awt.Component.processMouseEvent(Component.java:5093)
        at java.awt.Component.processEvent(Component.java:4890)
        at java.awt.Container.processEvent(Container.java:1566)
        at java.awt.Component.dispatchEventImpl(Component.java:3598)
        at java.awt.Container.dispatchEventImpl(Container.java:1623)
        at java.awt.Component.dispatchEvent(Component.java:3439)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
        at java.awt.Container.dispatchEventImpl(Container.java:1609)
        at java.awt.Window.dispatchEventImpl(Window.java:1585)
        at java.awt.Component.dispatchEvent(Component.java:3439)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:230)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission user.home read)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
        at java.security.AccessController.checkPermission(AccessController.java:401)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
        at java.lang.System.getProperty(System.java:572)
        at sun.awt.shell.ShellFolderManager.get(ShellFolderManager.java:51)
        at sun.awt.shell.ShellFolder.get(ShellFolder.java:208)
        at
javax.swing.filechooser.FileSystemView.getDefaultDirectory(FileSystemView.java:350)
        at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:525)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:321)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:273)
        at org.mozilla.javascript.tools.debugger.Main.init(Main.java:2772)
        at org.mozilla.javascript.tools.debugger.Main.<init>(Main.java:3510)
        ... 31 more


----

any idea on what could be wrong?

I am using MacOSX 10.2.8 with "Java 1.4.1_01"

Am I missing something or should there be somethin in my CLASSPATH?

Thanks,
Andreas

--     
The only thing that stands between a man and what he wants from
life is often merely the will to try it and the faith to believe
that it is possible ...
-- M. DeVos
    
----------------------------------------------     
Andreas Neumann - Department of Cartography     
Swiss Federal Institute of Technology (ETH)     
ETH Hoenggerberg, CH-8093  Zurich, Switzerland     
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153     
e-mail: [EMAIL PROTECTED]     
www: http://www.karto.ethz.ch/neumann/     
SVG.Open/Carto.net: http://www.svgopen.org/     

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

Reply via email to