Skip to main content


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: vs.sreeharsha.gmail.com

Hello,

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(OdaDriver.java:226)
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver.init(OdaDriver.java:176)
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver. <init>(OdaDriver.java:75)
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper.getOdaDriverHelper(OdaConnectionWrapper.java:236)
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper.getOdaConnectionHelper(OdaConnectionWrapper.java:225 )
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Wrapper. <init>(OdaConnectionWrapper.java:57)
> > at org.eclipse.datatools.connectivity.oda.profile.OdaConnection Factory.createConnection(OdaConnectionFactory.java:26)
> > at org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection(ConnectionFactoryProvider.java:85 )
> > at org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection(ConnectionFactoryProvider.java:69 )
> > at org.eclipse.datatools.connectivity.internal.ConnectionProfil e.createConnection(ConnectionProfile.java:304)
> > at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.ja va:57)
> > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> > Caused by: java.lang.NullPointerException
> > at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDr iver.loadDriverInstance(OdaDriver.java:204)
> > ... 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 connection.open(properties) directly return true without doing
anything. Can anybody throw some light on the issue?

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


Current Time: Thu Apr 25 11:11:45 GMT 2024

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

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

Back to the top