Maybe this is a Java bug, then, Veracity? It clearly isn't doing that for me.I did this:
- Did a price analysis of an item
- Clicked twice on the price field
--> It becomes an input field
- Entered a price and hit enter
--> The field is colored dark green
- Hit enter again
--> The field is colored light green and the next item in the list is highlighted.
That is exactly what I expected, since it is exactly how it has always behaved for me.
I tried again with various other items. It behaved the same.
I tried with the bottommost item. When I hit enter twice, it moved to the topmost item.
I hit save prices. It changed the prices as I had directed.
I see no bug.
KoLmafia v17.4 r17226, Mac OS X 10.11.6, Java 1.8.0_40
There we go. Reproduced by hitting Enter twice inside a price field, after changing the price (which does nothing), THEN clicking the "save prices" button. The NPE happens at that point.
Tried. Same results as Veracity. I'm marking this issue as "cannot reproduce," but feel free to try again to help us reproduce it.
I'm using Java version 8 Update 101 (build 1.8.0_101-b13) 32-bit
Object realValue = value;
if ( realValue == null )
{
realValue = table.getValueAt( row, column );
}
int intValue = realValue instanceof Integer ? ( (Integer) realValue ).intValue() : StringUtilities.parseInt(
realValue.toString() );