Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1087

batik-squiggle.jar NPE on startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7
    • None
    • SVG Viewer
    • None
    • OS X 10.9.4 (Mavericks)
      JDK 1.8.0_20

    Description

      On starting batik-squiggle, the splash screen displays, then an NPE is thrown.
      Exception in thread "main" java.lang.NullPointerException
      at sun.net.util.URLUtil.getConnectPermission(URLUtil.java:84)
      at sun.awt.SunToolkit.checkPermissions(SunToolkit.java:925)
      at sun.awt.SunToolkit.imageExists(SunToolkit.java:902)
      at sun.lwawt.macosx.LWCToolkit.getImage(LWCToolkit.java:555)
      at javax.swing.ImageIcon.<init>(ImageIcon.java:198)
      at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
      at org.apache.batik.util.gui.resource.MenuFactory.initializeJMenuItem(MenuFactory.java:488)
      at org.apache.batik.util.gui.resource.MenuFactory.createJMenuItem(MenuFactory.java:344)
      at org.apache.batik.util.gui.resource.MenuFactory.createJMenuComponent(MenuFactory.java:242)
      at org.apache.batik.util.gui.resource.MenuFactory.createJMenu(MenuFactory.java:301)
      at org.apache.batik.util.gui.resource.MenuFactory.createJMenuComponent(MenuFactory.java:240)
      at org.apache.batik.util.gui.resource.MenuFactory.createJMenuBar(MenuFactory.java:152)
      at org.apache.batik.apps.svgbrowser.JSVGViewerFrame.<init>(JSVGViewerFrame.java:646)
      at org.apache.batik.apps.svgbrowser.Main.<init>(Main.java:436)
      at org.apache.batik.apps.svgbrowser.Main.main(Main.java:163)

      Attachments

        Activity

          People

            Unassigned Unassigned
            pbwest Peter Bernard West
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: