Loading ...
Sorry, an error occurred while loading the content.
 

Re: [pcgen_developers] Change to INFOTEXT behavior

Expand Messages
  • Stefan Radermacher
    Hm, I can t reproduce this error, but I have added a check to test for an empty list. Regards, Stefan.
    Message 1 of 6 , Jul 12, 2010
      Hm, I can't reproduce this error, but I have added a check to test for an
      empty list.

      Regards,
      Stefan.

      On Sunday 11 July 2010 08:27:05 you wrote:
      > Hi Stefan,
      >
      > On 8/07/2010 11:34 PM Stefan Radermacher wrote
      >
      > > Hi Jamess,
      > >
      > >> This will need to go through the normal data team approval process.
      > >> Could you raise it on the main list and ask Barak to approve it please?
      > >
      > > Certainly.
      > >
      > >> Depending on the number of references to it as a stringkey if approval
      > >> is given in time it should be possible to migrate. However I was
      > >> planning on the RC2 going out on Sunday my time, so the approvals would
      > >> need to be soon.
      > >
      > > The code change seems easy enough, and I have it running in my sandbox
      > > already.
      >
      > Thanks for making the changes. Very quick work!
      >
      > However, when starting the trunk, I am seeing the following exception
      > now, which is in the new code you have added:
      >
      > 16:23:45.578 SEVERE main GameModes:76 Exception while initing the form
      > java.lang.NullPointerException
      > at pcgen.gui.GameModes.jbInit(GameModes.java:227)
      > at pcgen.gui.GameModes.<init>(GameModes.java:68)
      > at pcgen.gui.Options.addCampMenu(Options.java:72)
      > at pcgen.gui.Options.jbInit(Options.java:84)
      > at pcgen.gui.Options.<init>(Options.java:62)
      > at pcgen.gui.PCGenMenuBar.<init>(PCGenMenuBar.java:141)
      > at pcgen.gui.PCGen_Frame1.<init>(PCGen_Frame1.java:230)
      > at pcgen.gui.pcGenGUI.<init>(pcGenGUI.java:161)
      > at pcgen.gui.pcGenGUI.main(pcGenGUI.java:494)
      > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      > at
      > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
      > 9) at
      > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
      > l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
      > at pcgen.core.Main.main(Main.java:79)
      >
      > I suspect it is because the list is null at that point.
      >
      > Cheers,
      > James.
    Your message has been successfully submitted and would be delivered to recipients shortly.