| Author |
java.io.File exception
|
parth jeevan
Greenhorn
Joined: Jun 19, 2006
Posts: 17
|
|
Hello all I am getting an exception in an application that im supporting. Can anyone give me any suggestions? heres the exception ==========================================================================
java.lang.NullPointerException at java.io.File.<init>(File.java:180) at com.esb.server.TriggerFileMsgProcessor.deliver(TriggerFileMsgProcessor.java:34) at com.esb.server.BasicMsgProcessor.onMessage(BasicMsgProcessor.java:167) at com.b2b.mdbc.MessageDispatcher.run(MessageDispatcher.java:181)
========================================================================== The statement at TriggerFileMsgProcessor.java:34 is Does anyone have any suggestions regarding this java.io.File error? Any suggestions would be helpful
|
 |
parth jeevan
Greenhorn
Joined: Jun 19, 2006
Posts: 17
|
|
|
By the way the java version is 1.4.2_12
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
|
I may be going out on a limb, here... but have you considered the possibility that "archiveDirectory" may be null?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16695
|
|
An excerpt from the JavaDoc... for the particular constructor being called.
File public File( String pathname)-- Creates a new File instance by converting the given pathname string into an abstract pathname. If the given string is the empty string, then the result is the empty abstract pathname. Parameters: pathname - A pathname string Throws: NullPointerException - If the pathname argument is null
Henry [ August 25, 2006: Message edited by: Henry Wong ]
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
 |
|
|
subject: java.io.File exception
|
|
|