This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Websphere and the fly likes Error while trying to get the image in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Error while trying to get the image in java" Watch "Error while trying to get the image in java" New topic
Author

Error while trying to get the image in java

Guna sekar
Ranch Hand

Joined: May 18, 2010
Posts: 32
Hi,

While i tried to get the image from java code i m getting the following error;

java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:405)
at com.penske.dao.context.DataSourceContext.getDataSource(Unknown Source)
at com.penske.dao.context.DataSourceContext.getConnection(Unknown Source)
at com.penske.dao.context.DataSourceContext.getNamedResource(Unknown Source)
at com.penske.dao.factory.JDBCDefaultDao.run(Unknown Source)

Please provide the solution for this.
 
GeeCON Prague 2014
 
subject: Error while trying to get the image in java