Hi All,
I am trying to Evaluate abbot for the testing of my Java Swing based application.
Abbot is unable to load Images (can be seen from the following Exception).
I can run this application on Windows/Linux/Solaris without any error.
I am having problem while Launching Application using Abbot.
If anyone can help me after looking at the following Exception?
Error: java.lang.NullPointerException
in step 'Launch com.enterprisedb.admin.Administrator.main([])'
at F:\Projects\testing\abbot\DevStudio:3
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at com.enterprisedb.admin.utils.AdminMiscFunctions.getImage(AdminMiscFunctions.java:766)
at com.enterprisedb.admin.MainWindow.<init>(MainWindow.java:183)
at com.enterprisedb.admin.MainWindow.getInstance(MainWindow.java:2245)
at com.enterprisedb.admin.Administrator.main(Administrator.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at abbot.script.Call.invoke(Call.java:194)
at abbot.script.Call.runStep(Call.java:129)
at abbot.script.Launch.synchronizedRunStep(Launch.java:138)
at abbot.script.Launch$1.run(Launch.java:186)
Regards,
Aamir Yaseen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I am trying to Evaluate abbot for the testing of my Java Swing based application.
Abbot is unable to load Images (can be seen from the following Exception).
I can run this application on Windows/Linux/Solaris without any error.
I am having problem while Launching Application using Abbot.
If anyone can help me after looking at the following Exception?
Error: java.lang.NullPointerException
in step 'Launch com.enterprisedb.admin.Administrator.main([])'
at F:\Projects\testing\abbot\DevStudio:3
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at com.enterprisedb.admin.utils.AdminMiscFunctions.getImage(AdminMiscFunctions.java:766)
at com.enterprisedb.admin.MainWindow.<init>(MainWindow.java:183)
at com.enterprisedb.admin.MainWindow.getInstance(MainWindow.java:2245)
at com.enterprisedb.admin.Administrator.main(Administrator.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at abbot.script.Call.invoke(Call.java:194)
at abbot.script.Call.runStep(Call.java:129)
at abbot.script.Launch.synchronizedRunStep(Launch.java:138)
at abbot.script.Launch$1.run(Launch.java:186)
Regards,
Aamir Yaseen