Hi Netrexxers!
For a project I need a method to read the directory/file structure of a Diskette/CD.... I tried the Filetree method of the famous RXFile.class of Max Marsiglietti which works fine under OS/2 Warp 4, but not under Win95 (Version 4.0 Build 1111.B). When running the class "gft" for test purposes the drive a: will be selected but I get the error java.lang.NullpointerException at gft.<init><gft.nrx:29> at gft.main<gft.nrx:17> Using the class FileLister from Netrexx Tutorial the drive will be selected and I get the error Exception in thread "main" java.lang.NullPointerException: at FileLister.list_directory(FileLister.Nrx:50) at FileLister.<init>(FileLister.Nrx:36) at FileLister.main(FileLister.Nrx:143) Running the class FileInfo from NrxRedBk ends up with a java.lang.NullPointerException: All the classes can be used under OS/2 without problems. Can anybody help me ? Helmut Helmut Jeschgo Herbststrasse 34/6 1160 Wien Tel. 01 495 22 67 Email: [hidden email] Helmut Jeschgo Herbststrasse 34/6 1160 Wien Tel. 01 495 22 67 Email: [hidden email] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
Helmut Jeschgo wrote:
> > Hi Netrexxers! > For a project I need a method to read the directory/file structure of a Diskette/CD.... > I tried the Filetree method of the famous RXFile.class of Max Marsiglietti which works fine > under OS/2 Warp 4, but not under Win95 (Version 4.0 Build 1111.B). When running the class "gft" for test > purposes the drive a: will be selected but I get the error > java.lang.NullpointerException > at gft.<init><gft.nrx:29> > at gft.main<gft.nrx:17> > > Using the class FileLister from Netrexx Tutorial the drive will be selected and I get the error > Exception in thread "main" java.lang.NullPointerException: > at FileLister.list_directory(FileLister.Nrx:50) > at FileLister.<init>(FileLister.Nrx:36) > at FileLister.main(FileLister.Nrx:143) > > Running the class FileInfo from NrxRedBk ends up with a java.lang.NullPointerException: > > All the classes can be used under OS/2 without problems. > > Can anybody help me ? > > Helmut > > Helmut Jeschgo > Herbststrasse 34/6 > 1160 Wien > Tel. 01 495 22 67 > Email: [hidden email] > > Helmut Jeschgo > Herbststrasse 34/6 > 1160 Wien > Tel. 01 495 22 67 > Email: [hidden email] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to > [hidden email] > with the following message in the body of the note > unsubscribe ibm-netrexx <e-mail address> I have the same problem on WIN 95 with RXFile's FileTree when the directory is empty. I have to test for the directory empty condition before invoking Filetree. I also found RXFile linein/lineout methods to be about 40, yes 40, times slower than the Java readLine/printLn buffered methods on Win 95. YMMV. -- Bernie Schneider: [hidden email] ======================================================================== The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often, and sometimes frightened. But no price is too high to pay for the priviledge of owning yourself. << Rudyard Kipling >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to [hidden email] with the following message in the body of the note unsubscribe ibm-netrexx <e-mail address> |
Free forum by Nabble | Edit this page |