Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Ping Failed on the Data Source Properties page
Ping Failed on the Data Source Properties page [message #591573] Thu, 19 June 2008 22:38
Eclipse UserFriend
Originally posted by:


I am developing a custom non-JDBC ODA Driver for report module in the
RCP application. I created both the runtime and designer plugins and
have overridden all the methods in the runtime plugin.

The problem that I am stuck up with right now is when I select my custom
data source from the UI and say "Next". The Data Source Properties page
is displayed with a "Ping" button. When I press the "Ping" button, for
some reason, I get the following exception along with "Ping Failed" notice:

> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaHe lperException: Unable to create the ODA driver's connection factory. (net.bplg.powersg.oda.Driver) ;
> java.lang.NullPointerException
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver.loadDriverInstance(
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver.init(
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver. <init>(
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper.getOdaDriverHelper(
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper.getOdaConnectionHelper( )
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper. <init>(
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Factory.createConnection(
> > at org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection( )
> > at org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection( )
> > at org.eclipse.datatools.connectivity.internal.ConnectionProfil e.createConnection(
> > at va:57)
> > at
> > Caused by: java.lang.NullPointerException
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver.loadDriverInstance(
> > ... 11 more

Is there anyone who know why I am getting this exception instead of
"Ping Succeeded" message? My data source doesn't have any properties and
hence the directly return true without doing
anything. Can anybody throw some light on the issue?

Previous Topic:Remove the ODA DataSource properties dialog from the wizard
Next Topic:How to launch SQL Editor
Goto Forum:

Current Time: Thu Apr 26 15:39:48 GMT 2018

Powered by FUDForum. Page generated in 0.01959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software