Menu

#1 NullPointerException when opening a document

open
nobody
taxi (4)
5
2003-08-13
2003-08-13
Eric Kow
No

We tried opening the TAGML example document (XML/
TAGML/tree1.tag) with the TAGML stylesheet and def.
Nothing happens.

The console shows:

java.lang.NullPointerException
at
org.apache.batik.swing.svg.JSVGComponent.setSVGDocume
nt(Unknown Source)
at
fr.loria.taxi.editor.gui.SVGEditionFrame.load(SVGEditionFram
e.java:556)
at
fr.loria.taxi.editor.gui.MainFrame.openSVGEditionFrame(Mai
nFrame.java:298)
at
fr.loria.taxi.editor.action.OpenDocumentAction.process(Open
DocumentAction.java:61)
at
fr.loria.taxi.editor.action.AbstractEditorAction.run(AbstractEd
itorAction.java:135)
at java.lang.Thread.run(Thread.java:554)

-----------
Java 1.4.1 on MacOS X

1) Could this be related to the changes in which you are
no longer required to specify a temp directory?

2) TAXI should display a dialog box indicating that there
was an error...

Discussion

  • Eric Kow

    Eric Kow - 2003-08-13

    Logged In: YES
    user_id=242465

    opening the same file with the generic visualisation does not work
    either; so this is not specific to the TAGML stylesheet

     
  • Eric Kow

    Eric Kow - 2003-08-13

    Logged In: YES
    user_id=242465

    TAXI does not respond to any other actions afterwards; the
    console reports that an action took place, but nothing actually
    happens. For example, i can't close TAXI.

     
  • Eric Kow

    Eric Kow - 2003-08-13

    Logged In: YES
    user_id=242465

    Opening a different file (attached) seems to work.

     
  • Eric Kow

    Eric Kow - 2003-08-13
    • labels: --> taxi
     

Log in to post a comment.