Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6691718

NIMBUS: NPE thrown when using Nimbus in this photo uploader

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      After setting Nimbus as the default look and feel through swing.properties, the photo uploader in this site does not load. Java console shows NPE is thrown:

      java.lang.NullPointerException
          at javax.swing.JSplitPane.setUIProperty(Unknown Source)
          at javax.swing.LookAndFeel.installProperty(Unknown Source)
          at javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults(Unknown Source)
          at javax.swing.plaf.basic.BasicSplitPaneUI.installUI(Unknown Source)
          at javax.swing.JComponent.setUI(Unknown Source)
          at javax.swing.JSplitPane.setUI(Unknown Source)
          at com.fotki.panels.FileSystemPanel.setUpUI(FileSystemPanel.java:214)
          at com.fotki.panels.FileSystemPanel.<init>(FileSystemPanel.java:201)
          at com.fotki.base.BrowseScreen.<init>(BrowseScreen.java:71)
          at com.fotki.applet.FotkiUploader4.init(FotkiUploader4.java:239)
          at sun.applet.AppletPanel.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

      To reproduce:
      0. Set Nimbus as the default LAF
      1. go to http://fotki.com
      2. create an album
      3. use the Java Photo Uploader
      4. NPE thrown.

      Environment: Vista, IE 7, FF 2 or 3, 6u10-b22 and nitely build (see comment).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jasper Jasper Potts (Inactive)
              Reporter:
              ryeung Roger Yeung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: