Menu

#67 exceptions when adding a JRE

closed-fixed
5
2013-01-26
2013-01-12
Anonymous
No

result in that other JREs cannot be added.

exception when adding a JRE - occurs when pressing Ok- or Apply-button of the Options-dialog:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast to java.io.File
at org.fife.rtext.plugins.langsupport.JavaOptionsPanel.doApplyImpl(JavaOptionsPanel.java:284)
at org.fife.ui.OptionsDialogPanel.doApply(OptionsDialogPanel.java:203)
at org.fife.ui.OptionsDialogPanel.doApply(OptionsDialogPanel.java:205)
at org.fife.ui.OptionsDialogPanel.doApply(OptionsDialogPanel.java:205)
at org.fife.ui.OptionsDialog.doApplyImpl(OptionsDialog.java:290)
at org.fife.ui.OptionsDialog.doApply(OptionsDialog.java:271)
at org.fife.ui.OptionsDialog.actionPerformed(OptionsDialog.java:179)

or also when trying to modify the added JRE (beofre Ok/Apply):

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast to java.io.File
at org.fife.rtext.plugins.langsupport.JavaOptionsPanel$RowHandlerDialog.<init>(JavaOptionsPanel.java:417)
at org.fife.rtext.plugins.langsupport.JavaOptionsPanel$RowHandlerDialog.<init>(JavaOptionsPanel.java:397)
at org.fife.rtext.plugins.langsupport.JavaOptionsPanel$JarRowHandler.getNewRowInfo(JavaOptionsPanel.java:388)
at org.fife.ui.modifiabletable.ModifiableTable.modifyRow(ModifiableTable.java:534)
at org.fife.ui.modifiabletable.ModifiableTable$Listener.actionPerformed(ModifiableTable.java:721)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)

Discussion

  • Robert Futrell

    Robert Futrell - 2013-01-23
    • assigned_to: nobody --> robert_futrell
    • status: open --> pending
     
  • Robert Futrell

    Robert Futrell - 2013-01-23

    Thanks for finding this; this broke a while back with the refactoring of the Java language support. Fixed with SVN revision 299, and it will be in the upcoming 2.0.6 release (hopefully this weekend).

     
  • Robert Futrell

    Robert Futrell - 2013-01-26

    Fixed in 2.0.6.

     
  • Robert Futrell

    Robert Futrell - 2013-01-26
    • status: pending --> closed-fixed