PiRSquared17 / bout-time

Automatically exported from code.google.com/p/bout-time
1 stars 0 forks source link

null pointer exception runtime error caused by Bout Count field being Cleared for a Group #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Problem duplication has not been achieved

I have had two instanceds of the null pointer exception occuring during 
the process of seeding groups.  The message that pops up is:

BoutTime has encountered a runtime exception
See'logs/bouttime.log' for more information
java.lang.nullpointerexception

In at least one case I noticed that I had a group with 5 kids and it now 
shows 0 (zero) for the bout count.  I ungrouped and regrouped and the bout 
cout was corrected to 10.  I have encountered the problem at least 3 times 
but only once did I notice the zero bout count.

I have included the log file

What is the expected output? What do you see instead?
Null pointer exception will not let me autobout or work with this group in 
any way without the error popping up.

What version of the product are you using? On what operating system?
BoutTime v.05 running XP

Please provide any additional information below.

Workaround is to select the group.  Ungroup the wrestlers and regroup.  
You should not the assigned mat and any bout numbers that need to be 
transferred to the regrouped bracket.

Original issue reported on code.google.com by melsw...@austin.rr.com on 18 Jan 2010 at 5:45

Attachments:

GoogleCodeExporter commented 9 years ago
To recreate the problem : 

  1. Go to the Group tab, select a group, and select the "Wrestler List" tab.
  2. Then, click on the seed value for a wrestler, BUT DO NOT SELECT A SEED.
  3. Next, click the "Update" in the "Wrestler List".  You will need to click this
twice.  The 1st time removes the cursor "focus" from the seed drop-down box.  
The
drop-down box should appear in the table cell.  The 2nd time actually executes 
the
"Update" function and then leads to the NullPointerException.  

-- or --

   1. Go to the Group tab, select a group, and select the "Wrestler List" tab.
   2. Then, click on the seed value for a wrestler, BUT DO NOT SELECT A SEED.
   3. Select another group from the group list.
   4. Select yet another group from the group list.

Any time you select the group that was selected in Step 3, you get a
NullPointerException.  

-----

Solution : 
  table.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);

This is needed in both GroupListFilterPanel and GroupWrestlerListPanel.

Original comment by jeff.btpro on 2 Feb 2010 at 11:38

GoogleCodeExporter commented 9 years ago
Fixed in r85.

Original comment by jeff.btpro on 4 Feb 2010 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by jeff.btpro on 25 Mar 2010 at 3:48