What steps will reproduce the problem?
1. Open Jpowder
2. Load any data
3. click on Tools 2D tab
4. click on Transform x-axis
5. click on Apply button inside Transform x-axis panel
you then get the error message in Netbeans:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:5468)
at org.jpowder.Analysis.Transforming_XAxis.stopAllCellEditing(Transforming_XAxis.java:302)
at org.jpowder.Analysis.Transforming_XAxis.applyButtonActionPerformed(Transforming_XAxis.java:519)
at org.jpowder.Analysis.Transforming_XAxis.access$200(Transforming_XAxis.java:57)
at org.jpowder.Analysis.Transforming_XAxis$5.actionPerformed(Transforming_XAxis.java:425)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
.
.
.
What is the expected output? What do you see instead?
Instead of this error message please provide user with a
Message window with text "Please enter value for Wavelength"
Note an equivalent message is generated line 551 in
Transforming_XAxis.java which is in the package org.jpowder.Analysis
Original issue reported on code.google.com by anders.m...@stfc.ac.uk on 12 May 2012 at 9:22
Original issue reported on code.google.com by
anders.m...@stfc.ac.uk
on 12 May 2012 at 9:22