← Back to team overview

gephi.team team mailing list archive

[Bug 584958] Re: Various Exceptions during importing database

 

Interesting, two patches for a single bug, congrats :-)

Martin what is not working in Andre's patch?

** Changed in: gephi
       Status: New => Confirmed

** Also affects: gephi/0.7
   Importance: Undecided
       Status: New

** Changed in: gephi/0.7
       Status: New => Confirmed

** Changed in: gephi/0.7
   Importance: Undecided => Low

-- 
Various Exceptions during importing database
https://bugs.launchpad.net/bugs/584958
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Confirmed
Status in Gephi 0.7 series: Confirmed

Bug description:
Various exceptions are thrown during importing database from edge list...


How to reproduce this bug:
1. select from menu File/Import Database/Edge List
2.let the connection set to New Configuration without any changes in text fields
3. after the click on the X button in the upper right corner of the window, following exception is thrown:
java.lang.RuntimeException: Failed to connect at jdbc:mysql://:/

4. also the incorrent connection named "jdbc:mysql://:/" is added to connection list
5. when we select again New Configuration the following exception is thrown:
java.lang.NullPointerException

6. when we select again jabc connection the same exception as in step 3 is thrown


Version of Gephi
Gephi 0.7 Alpha 4 with all 19 updates installed

Version of OS
Windows 7 64bit with all updates installed, JDK 1.6 update 20 32bit


How to solve this problem?
Register window listener on the dialog and when nothing is choosen, do not add any database or try to connect to it, so the exception should not be thrown and no corrupted connection will be added to list