gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
270 stars 620 forks source link

Class name conflict between ExcelCsvImporter plugin and SimilarityComputer #153

Closed seinecle closed 7 years ago

seinecle commented 7 years ago

To reproduce:

Result:

java.lang.ClassCastException: net.clementlevallois.excelcsvimporter.wizard.Panel1 cannot be cast to net.clementlevallois.wizard.Panel1 at net.clementlevallois.controller.MyFileImporter.execute(MyFileImporter.java:77)

It seems that the plugin SimilarityComputer, when casting to Panel1, retrieves a class from outside it, located in net.clementlevallois.excelcsvimporter.wizard.Panel1

The solution surely consists in making packages from each plugins private, so that they don't interfere with each other? Not sure how to do this. Waiting for instructions :-)

eduramiba commented 7 years ago

See #154