Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » NulPointer Exception when gettingProfiles
NulPointer Exception when gettingProfiles [message #657850] Fri, 04 March 2011 10:48 Go to next message
Marou is currently offline MarouFriend
Messages: 11
Registered: July 2010
Junior Member
Hi,

I want to get connection profiles but when i call

org.eclipse.datatools.connectivity.ProfileManager.getInstance().getProfiles();


a null pointer exception

Exception in thread "main" java.lang.NullPointerException
	at org.eclipse.datatools.connectivity.internal.InternalProfileManager.loadProfiles(InternalProfileManager.java:1048)
	at org.eclipse.datatools.connectivity.internal.InternalProfileManager.getProfiles(InternalProfileManager.java:148)
	at org.eclipse.datatools.connectivity.ProfileManager.getProfiles(ProfileManager.java:48)
	at first.wizards.test.main(test.java:16)


How to fix this?
Thx,
Re: NulPointer Exception when gettingProfiles [message #658053 is a reply to message #657850] Sat, 05 March 2011 16:34 Go to previous message
Marou is currently offline MarouFriend
Messages: 11
Registered: July 2010
Junior Member
hi,

The problem is resolved.
The problem was that i tested it in main program.

[Updated on: Sat, 05 March 2011 19:27]

Report message to a moderator

Previous Topic:Db Schema not shown in 'data source explorer' view - Helios
Next Topic:Can't See DTP Perspective in Helios SR2
Goto Forum:
  


Current Time: Fri Apr 19 05:12:14 GMT 2024

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

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

Back to the top