From: JIRA (f. A. M. ) <ji...@pc...> - 2012-10-05 14:50:40
|
<style> /* Changing the layout to use less space for mobiles */ @media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) { #email-body { min-width: 30em !important; } #email-page { padding: 8px !important; } #email-banner { padding: 8px 8px 0 8px !important; } #email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important; } #email-fields { padding: 0 8px 8px 8px !important; } #email-gutter { width: 0 !important; } } </style> <div id="email-body"> <table id="email-wrap" align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#f0f0f0;color:#000000;width:100%;"> <tr valign="top"> <td id="email-page" style="padding:16px !important;"> <table align="center" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffffff;border:1px solid #bbbbbb;color:#000000;width:100%;"> <tr valign="top"> <td bgcolor="#114070" style="background-color:#114070;color:#ffffff;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"><img src="http://jira.pcgen.org/s/en_US-w57ynr/664/4/_/images/jira111x30.png" alt="" style="vertical-align:top;" /></td> </tr><tr valign="top"> <td id="email-banner" style="padding:32px 32px 0 32px;"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="width:100%;"> <tr valign="top"> <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;padding:0;"> <img id="email-avatar" src="http://jira.pcgen.org/secure/useravatar?ownerId=legacyking&avatarId=10320" alt="" height="48" width="48" border="0" align="left" style="padding:0;margin: 0 16px 16px 0;" /> <div id="email-action" style="padding: 0 0 8px 0;font-size:12px;line-height:18px;"> <a class="user-hover" rel="legacyking" id="email_legacyking" href="http://jira.pcgen.org/secure/ViewProfile.jspa?name=legacyking" style="color:#3c78b5;">Andrew Maitland</a> updated <img src="http://jira.pcgen.org/images/icons/bug.gif" height="16" width="16" border="0" align="absmiddle" alt="Bug"> <a style='color:#3c78b5;text-decoration:none;' href='http://jira.pcgen.org/browse/CODE-1716'>CODE-1716</a> </div> <div id="email-summary" style="font-size:16px;line-height:20px;padding:2px 0 16px 0;"> <a style="color:#3c78b5;text-decoration:none;" href="http://jira.pcgen.org/browse/CODE-1716"><strong>ABILITY:Animal Trick|NORMAL|Animal Training ~ Combat Riding causes NPE</strong></a> </div> </td> </tr> </table> </td> </tr> <tr valign="top"> <td id="email-fields" style="padding:0 32px 32px 32px;"> <table border="0" cellpadding="0" cellspacing="0" style="padding:0;text-align:left;width:100%;" width="100%"> <tr valign="top"> <td id="email-gutter" style="width:64px;white-space:nowrap;"></td> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;"> <strong style="font-weight:normal;color:#505050;">Change By:</strong> </td> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;"> <a class="user-hover" rel="legacyking" id="email_legacyking" href="http://jira.pcgen.org/secure/ViewProfile.jspa?name=legacyking" style="color:#3c78b5;">Andrew Maitland</a> (06/Oct/12 12:49 AM) </td> </tr> <tr valign="top"> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;"> <strong style="font-weight:normal;color:#505050;">Summary:</strong> </td> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;"> <span class="diffcontext">ABILITY:Animal</span> <span class="diffremovedchars" style="background-color:#ffe7e7;text-decoration:line-through;"> Tricks</span> <span class="diffaddedchars" style="background-color:#ddfade;"> Trick</span> <span class="diffcontext">|NORMAL|</span> <span class="diffremovedchars" style="background-color:#ffe7e7;text-decoration:line-through;">x</span> <span class="diffaddedchars" style="background-color:#ddfade;">Animal Training ~ Combat Riding</span> <span class="diffcontext"> causes NPE</span> </td> </tr> <tr valign="top"> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 10px 10px 0;white-space:nowrap;"> <strong style="font-weight:normal;color:#505050;">Description:</strong> </td> <td style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0 0 10px 0;width:100%;"> <span class="diffcontext">When creating a 1st level Human Cavalier, saved, then attempt to add a Companion (Camel). I get a 'Null' pop up, and this in the log.<br><br>Per the Docs - ABILITY:</span> <span class="diffremovedchars" style="background-color:#ffe7e7;text-decoration:line-through;">x</span> <span class="diffaddedchars" style="background-color:#ddfade;">Animal Trick</span> <span class="diffcontext">|NORMAL|</span> <span class="diffremovedchars" style="background-color:#ffe7e7;text-decoration:line-through;">y</span> <span class="diffaddedchars" style="background-color:#ddfade;">Animal Training ~ Combat Riding</span> <span class="diffcontext"> is a valid tag, it should deduct the Cost of the Pool from the PC/Companion.<br><br>I would hazard a Guess the Order of Ops would mean the Companion hasn't gotten the Bonus to the Ability Pool in question possibly causing the NPE.<br><br><br>07:44:39.20 SEVERE AWT-EventQueue-1 CharacterManager:118 Unable to create character with data DataSet [gameMode=Pathfinder_RPG, campaigns=[Paizo - Pathfinder Roleplaying Game Core Rulebook, Paizo - Pathfinder Roleplaying Game Advanced Player's Guide, Paizo - Pathfinder Roleplaying Game Bestiary]]<br>java.lang.NullPointerException<br> at pcgen.gui2.facade.CompanionSupportFacadeImpl.linkCompanion(CompanionSupportFacadeImpl.java:384)<br> at pcgen.gui2.facade.CompanionSupportFacadeImpl.elementAdded(CompanionSupportFacadeImpl.java:444)<br> at pcgen.core.facade.util.AbstractListFacade.fireElementAdded(AbstractListFacade.java:112)<br> at pcgen.core.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:106)<br> at pcgen.core.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:100)<br> at pcgen.system.CharacterManager.createNewCharacter(CharacterManager.java:111)<br> at pcgen.gui2.tabs.CompanionInfoTab$CompanionDialog.actionPerformed(CompanionInfoTab.java:623)<br> at pcgen.gui2.util.JTableEx.fireActionEvent(JTableEx.java:149)<br> at pcgen.gui2.util.JTableEx.access$100(JTableEx.java:55)<br> at pcgen.gui2.util.JTableEx$1.mouseClicked(JTableEx.java:125)<br> at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Window.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)<br> at java.awt.EventQueue.access$000(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue.dispatchEvent(Unknown Source)<br> at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934)<br> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.Dialog$1.run(Unknown Source)<br> at java.awt.Dialog$3.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.awt.Dialog.show(Unknown Source)<br> at java.awt.Component.show(Unknown Source)<br> at java.awt.Component.setVisible(Unknown Source)<br> at java.awt.Window.setVisible(Unknown Source)<br> at java.awt.Dialog.setVisible(Unknown Source)<br> at pcgen.gui2.tabs.CompanionInfoTab$ButtonCellEditor.actionPerformed(CompanionInfoTab.java:533)<br> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)<br> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)<br> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)<br> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)<br> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(Unknown Source)<br> at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)<br> at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)<br> at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Window.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)<br> at java.awt.EventQueue.access$000(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue.dispatchEvent(Unknown Source)<br> at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934)<br> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br> at java.awt.EventDispatchThread.run(Unknown Source)<br><br>07:44:41.766 SEVERE AWT-EventQueue-1 PCGen_Frame1:2939 Uncaught error - ignoring<br>java.lang.NullPointerException<br> at pcgen.gui2.tabs.CompanionInfoTab$CompanionDialog.actionPerformed(CompanionInfoTab.java:625)<br> at pcgen.gui2.util.JTableEx.fireActionEvent(JTableEx.java:149)<br> at pcgen.gui2.util.JTableEx.access$100(JTableEx.java:55)<br> at pcgen.gui2.util.JTableEx$1.mouseClicked(JTableEx.java:125)<br> at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Window.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)<br> at java.awt.EventQueue.access$000(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue.dispatchEvent(Unknown Source)<br> at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934)<br> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.Dialog$1.run(Unknown Source)<br> at java.awt.Dialog$3.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.awt.Dialog.show(Unknown Source)<br> at java.awt.Component.show(Unknown Source)<br> at java.awt.Component.setVisible(Unknown Source)<br> at java.awt.Window.setVisible(Unknown Source)<br> at java.awt.Dialog.setVisible(Unknown Source)<br> at pcgen.gui2.tabs.CompanionInfoTab$ButtonCellEditor.actionPerformed(CompanionInfoTab.java:533)<br> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)<br> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)<br> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)<br> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)<br> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(Unknown Source)<br> at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)<br> at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)<br> at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)<br> at java.awt.Component.processMouseEvent(Unknown Source)<br> at javax.swing.JComponent.processMouseEvent(Unknown Source)<br> at java.awt.Component.processEvent(Unknown Source)<br> at java.awt.Container.processEvent(Unknown Source)<br> at java.awt.Component.dispatchEventImpl(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br> at java.awt.Container.dispatchEventImpl(Unknown Source)<br> at java.awt.Window.dispatchEventImpl(Unknown Source)<br> at java.awt.Component.dispatchEvent(Unknown Source)<br> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)<br> at java.awt.EventQueue.access$000(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.awt.EventQueue$1.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.awt.EventQueue$2.run(Unknown Source)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)<br> at java.awt.EventQueue.dispatchEvent(Unknown Source)<br> at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934)<br> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br> at java.awt.EventDispatchThread.run(Unknown Source)<br><br></span> <span class="diffremovedchars" style="background-color:#ffe7e7;text-decoration:line-through;"><br></span> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td><!-- End #email-page --> </tr> <tr valign="top"> <td style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding: 0 16px 16px 16px;text-align:center;"> This message is automatically generated by JIRA.<br /> If you think it was sent incorrectly, please contact your <a style='color:#3c78b5;' href='http://jira.pcgen.org/secure/ContactAdministrators!default.jspa'>JIRA administrators</a>.<br /> For more information on JIRA, see: <a style='color:#3c78b5;' href='http://www.atlassian.com/software/jira'>http://www.atlassian.com/software/jira</a> </td> </tr> </table><!-- End #email-wrap --> </div><!-- End #email-body --> |