DOMAINLVL not giving correct number?

Description

  • Custom domain problem: I created a custom domain by copying Protection
    domain. If I choose it, it only provides +1 saving throw bonus. I
    fiddled with editor and found DOMAINLVL is not what it should be. The
    line "BONUS:VAR|DOMAINPROTECTIONLVL|DOMAINLVL" does not work as
    expected, and if I change DOMAINLVL to a number, it works. Note that the
    original Protection and Defense domain work as expected.

Environment

None

Activity

Show:
Andrew Maitland
December 15, 2011, 12:09 AM

I'm having issues trying to retest this - I upgraded so the source issue shouldn't be in play, and I think it helped, I was able to get it to work. But doing this second test to verify I'm hitting massive errors and can't apply the domains.

ERROR MEESAGE:

21:05:14.279 SEVERE AWT-EventQueue-1 PCGen_Frame1:2938 Uncaught error - ignoring
java.lang.IllegalArgumentException: Source may not be null
at pcgen.cdom.facet.AbstractSingleSourceListFacet.add(AbstractSingleSourceListFacet.java:71)
at pcgen.core.PlayerCharacter.addDomain(PlayerCharacter.java:12286)
at pcgen.core.PlayerCharacter.addDomain(PlayerCharacter.java:12281)
at pcgen.gui.tabs.InfoDomain.selectDomainIndex(InfoDomain.java:1438)
at pcgen.gui.tabs.InfoDomain.access$1100(InfoDomain.java:158)
at pcgen.gui.tabs.InfoDomain$6.actionPerformed(InfoDomain.java:1007)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2933)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Andrew Maitland
December 15, 2011, 12:11 AM

SOURCE is prefilled with 'p.41'. I think to get the "working" version I re-opened the list editor. If I don't I get the error message .

Tom Parker
January 13, 2012, 9:19 PM

Not quite following the steps here to produce this.... can you put into one entry what the steps are to cause an error (and specify whether it's the DOMAINLVL error or the stack trace?)
Thanks.

James Dempsey
February 12, 2012, 4:51 AM
Edited

Stack trace has already been reported in I doubt it is relevant to the orginal report.

James Dempsey
September 13, 2012, 5:48 AM

LST editors have been removed currently.

Cancelled

Assignee

Unassigned

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Priority

Minor
Configure