#1196 CPD GUI fails to load directory in OSX Mavericks

New Tickets
open
nobody
None
CPD
3-Major
Bug
5.1.1
2014-05-06
2014-05-06
TimJowers
No

Can't scan directory in OSX Mavericks.Can scan a single file. Offending code:
if (!(new File(rootDirectoryField.getText())).exists()) {
JOptionPane.showMessageDialog(frame,
"Can't read from that root source directory",
"Error",
JOptionPane.ERROR_MESSAGE);
return;
}
Reproduce:
Launch CPD from PMD in Eclipse.
Use file chooser to select a directory.
User receives this message: Can't read from that root source directory
done/broken.
Note, can choose a single file and scan it.

Discussion

  • TimJowers

    TimJowers - 2014-05-06

    java -version
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

     
  • TimJowers

    TimJowers - 2014-05-06

    Workaround, manually add the /

     
  • TimJowers

    TimJowers - 2014-05-06

    If hit "cancel", Eclipse dies.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks