jhondiaz / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

Java error when saving recording to C:\ #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Device name : Nexus One
Device rooted (yes/no) : yes
Device OS version (1.5/1.6/2.0,...) : 2.2, CyanogenMod 6.0

Computer OS and version (Mac,Win,Linux,...) : Windows XP
Java version (java -version from command line) : java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
ADB version (adb version from command line) : 1.0.25
AndroidScreencast version : live from JNLP

What steps will reproduce the problem?
1. Start 
http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/android
screencast.jnlp
2. Resize the window to 800 pixels high
3. Click "Record", type c:\OsmAnd_bug, press Enter

What is the expected output? What do you see instead?

The following error is thrown:

java.lang.NullPointerException
    at java.util.Arrays$ArrayList.<init>(Unknown Source)
    at java.util.Arrays.asList(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Unknown Source)
    at sun.awt.shell.ShellFolder.isFileSystemRoot(Unknown Source)
    at javax.swing.filechooser.FileSystemView.isFileSystemRoot(Unknown Source)
    at javax.swing.filechooser.FileSystemView.getShellFolder(Unknown Source)
    at javax.swing.filechooser.FileSystemView.getFiles(Unknown Source)
    at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(Unknown Source)
    at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source)

Please provide any additional information below.

Saving the recording instead to the default directory (My Documents) as "a", 
works.

Original issue reported on code.google.com by ddascale...@gmail.com on 27 Oct 2010 at 4:29