Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

passing in a file from the command line-----seeing a NullPointerException

 
April Benzine
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Everything compiles fine, but when I run it and enter in the full path name of the text file I get a java.lang.NullPointerException
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'll take a deeper peek at the code, but I have some meetings today so I may not get to it until tomorrow. Any other takers while I sit in a conference room?

By the way, it would be easier to track this thread if you posted replies rather than new topics as replies. That way we could scroll to view the code instead of having to have multiple windows open and switch between them.

Thanks!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
All these posts seem too similar to be seperate threads. How's about we keep all discussion about your file from command line problem in one spot. This thread seems to be the most active for you, so let's keep discussion going there. I am closing this one.
 
    Bookmark Topic Watch Topic
  • New Topic