#475 Internal error caused by Null pointer exception

v4.9
open-works-for-me
None
5
2013-12-30
2013-07-23
Leo
No

Version:
4.10 beta
Steps to reproduce
1 download conf.txt from the attachment
2 ./proguardgui.sh conf.txt
3. It shows "Internal problem starting the ProGuard GUI (null)"

How it happens?
The dereference keepSpecifications in ProguardGUI.java:1258 results in a null-point-exception because configuration.keep is not initialized in parse() ProguardGUI.java:1360.
The stacktrace is
ProGuardGUI.java:1258
ProGuardGUI.java:1720
ProGuardGUI.java:981
ProGuardGUI.java:1363
ProGuardGUI.java:43
ProGuardGUI.java:1750
SwingUti.java:50
ProGuardGUI.java:1720

1 Attachments

Discussion

  • Eric Lafortune
    Eric Lafortune
    2013-12-27

    Sorry about the very late reply, but I can't seem to reproduce the problem. Could you check if you still get the exception with version 4.11?

     
  • Eric Lafortune
    Eric Lafortune
    2013-12-27

    • status: open --> open-works-for-me
    • assigned_to: Eric Lafortune
     
  • Leo
    Leo
    2013-12-30

    It still occurs.
    You should check the output from command line. The stack track is not printed and only the error message is printed.
    [leo@desktopa bin]$ ./proguardgui.sh conf.txt
    Internal problem starting the ProGuard GUI (null)