Bug found: adding folders when started as service.

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Bug found: adding folders when started as service.

Postby Bamse » Mon Jan 19, 2009 11:12 pm

Bug: No browse folder list window when clicking add folder under Navigation/Share Settings when running program as service.

Repeatable: Every time on 3 computers, 2 running WinXP SP3 with all latest updates, one running WinXP SP2 with the latest updates available for SP2.

Cause: Program trying to open folder list with the defaulted Local System user's shell, which does not exist.

Trace:
[AWT-EventQueue-0] TRACE 23:05:58.109 Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.io.IOException: Could not get shell folder ID list
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.awt.shell.Win32ShellFolderManager2.getRecent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.awt.shell.ShellFolder.get(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.JComponent.setUI(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.JFileChooser.updateUI(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.JFileChooser.setup(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.JFileChooser.<init>(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.109 at javax.swing.JFileChooser.<init>(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at net.pms.newgui.FoldTab$9.actionPerformed(FoldTab.java:284)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Component.processMouseEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at javax.swing.JComponent.processMouseEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Component.processEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Container.processEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Component.dispatchEventImpl(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Container.dispatchEventImpl(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Component.dispatchEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Container.dispatchEventImpl(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Window.dispatchEventImpl(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.Component.dispatchEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventQueue.dispatchEvent(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 at java.awt.EventDispatchThread.run(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.125 Caused by: java.io.IOException: Could not get shell folder ID list
[AWT-EventQueue-0] TRACE 23:05:58.125 at sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)
[AWT-EventQueue-0] TRACE 23:05:58.140 at sun.awt.shell.Win32ShellFolder2.access$900(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at sun.awt.shell.Win32ShellFolder2$8.call(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at sun.awt.shell.Win32ShellFolder2$8.call(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at java.util.concurrent.FutureTask.run(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
[AWT-EventQueue-0] TRACE 23:05:58.140 at java.lang.Thread.run(Unknown Source)

Please let me know if you want more info om machine specs or whatever :)
Bamse
 
Posts: 5
Joined: Mon Jan 19, 2009 10:51 pm

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot] and 14 guests