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

Re: 5.12.0 RC4 List Editor and customsources files

Expand Messages
  • Dof Sifrin
    ... the list ... but the ... program, ... written to ... version ... running ... 5.12.0 RC4; Java 1.6.0; Windows XP sp2 ... Write access isn t a problem.
    Message 1 of 6 , Jul 3, 2007
      --- In pcgen@yahoogroups.com, "James Dempsey" <jdempsey@...> wrote:
      >
      > Hi Dof,
      >
      > On 04/07/07, Dof Sifrin <dofsifrin@...> wrote:
      > > I've had a problem with several versions of PCGEN. When I use
      the list
      > > Editors lst files are created in the customsources directory -
      but the
      > > files have none of my data in them. As long as I am in the
      program,
      > > the data is available, but if I quit PCGEN the data is not
      written to
      > > the files and is lost.
      > >
      > > What am I missing?
      > >
      >
      > It might be easiest to diagnose this on a single version. What
      version
      > of PCGen are you currently using? What version of Java are you
      running
      > and what operating system are you using?

      5.12.0 RC4; Java 1.6.0; Windows XP sp2

      >
      > The other important question is do you have write access to the
      > directory that the customsources are stored in?


      Write access isn't a problem. PCGEN is creating the files but the
      files don't have anything other than:

      #
      #This file auto-generated by PCGen. Do not edit manually.
      #
      SOURCELONG:Custom SOURCESHORT:Custom

      Further experimenting has shown that just by opening and closing the
      list editor for a specific item (for example, deity and domain) is
      enough to wipe out the items I have added even without quitting the
      program. At this point, I would say I have moved beyond user error
      into bug - I just wish that I could describe it better.

      >
      > Custom data is stored a bit differently depending on the version
      that
      > you are using, so I'll explore the issue a bit further once you have
      > replied with the above information.
      >
      > The other thing you can do is to open the debug console (menu is
      Debug
      > > Console) and see if anything appears when you add LST info and
      exit
      > the LST editor (but not PCGen). There might be an error message
      there
      > which we can use to diagnose the problem.
      >
      > --
      > Cheers,
      > James Dempsey
      > PCGen Code SB
      >

      I'll open the debug console and see if I can provide you with better
      information.

      Regards,
      Chris Carlucci aka Dof Sifrin
    • Dof Sifrin
      After entering in a domain name, a Feat, and a spell list I clicked on save. When I click on edit to view or add more data, the following information appears
      Message 2 of 6 , Jul 3, 2007
        After entering in a domain name, a Feat, and a spell list I clicked
        on save. When I click on edit to view or add more data, the
        following information appears in the console (note that clicking edit
        now gives me an error beep and does not open a window. This did not
        happen before.)


        Error
        java.lang.NullPointerException
        at java.util.Collections$UnmodifiableCollection.<init>
        (Unknown Source)
        at java.util.Collections$UnmodifiableList.<init>(Unknown
        Source)
        at java.util.Collections.unmodifiableList(Unknown Source)
        at pcgen.core.QualifiedObject.getPrereqs
        (QualifiedObject.java:101)
        at pcgen.core.Deity.getPCCText(Deity.java:300)
        at pcgen.core.CustomData.writeCustomPObjects
        (CustomData.java:576)
        at pcgen.core.CustomData.writeCustomDeities
        (CustomData.java:511)
        at pcgen.core.CustomData.writeCustomFiles(CustomData.java:193)
        at pcgen.gui.LstEditorMain.removeObject
        (LstEditorMain.java:933)
        at pcgen.gui.LstEditorMain.editIt(LstEditorMain.java:342)
        at pcgen.gui.LstEditorMain.btnEditActionPerformed
        (LstEditorMain.java:313)
        at pcgen.gui.LstEditorMain.access$600(LstEditorMain.java:87)
        at pcgen.gui.LstEditorMain$6.actionPerformed
        (LstEditorMain.java:601)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown
        Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
        Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
        Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
        (Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
        Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown
        Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown
        Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent
        (PCGen_Frame1.java:3463)
        at java.awt.EventDispatchThread.pumpOneEventForFilters
        (Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
        Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
        (Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
      • James Dempsey
        Hi Dof, Yes this is definitely a bug. I can reproduce this by creating a deity with a domain assigned. Does that match what you are seeing? Cheers, James.
        Message 3 of 6 , Jul 3, 2007
          Hi Dof,

          Yes this is definitely a bug. I can reproduce this by creating a deity
          with a domain assigned. Does that match what you are seeing?

          Cheers,
          James.

          On 04/07/07, Dof Sifrin <dofsifrin@...> wrote:
          > After entering in a domain name, a Feat, and a spell list I clicked
          > on save. When I click on edit to view or add more data, the
          > following information appears in the console (note that clicking edit
          > now gives me an error beep and does not open a window. This did not
          > happen before.)
          >
          >
          > Error
          > java.lang.NullPointerException
          > at java.util.Collections$UnmodifiableCollection.<init>
          > (Unknown Source)
          > at java.util.Collections$UnmodifiableList.<init>(Unknown
          > Source)
          > at java.util.Collections.unmodifiableList(Unknown Source)
          > at pcgen.core.QualifiedObject.getPrereqs
          > (QualifiedObject.java:101)
          > at pcgen.core.Deity.getPCCText(Deity.java:300)
          > at pcgen.core.CustomData.writeCustomPObjects
          > (CustomData.java:576)
          > at pcgen.core.CustomData.writeCustomDeities
          > (CustomData.java:511)
          > at pcgen.core.CustomData.writeCustomFiles(CustomData.java:193)
          > at pcgen.gui.LstEditorMain.removeObject
          > (LstEditorMain.java:933)
          > at pcgen.gui.LstEditorMain.editIt(LstEditorMain.java:342)
          > at pcgen.gui.LstEditorMain.btnEditActionPerformed
          > (LstEditorMain.java:313)
          > at pcgen.gui.LstEditorMain.access$600(LstEditorMain.java:87)
          > at pcgen.gui.LstEditorMain$6.actionPerformed
          > (LstEditorMain.java:601)
          > at javax.swing.AbstractButton.fireActionPerformed(Unknown
          > Source)
          > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
          > Source)
          > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
          > Source)
          > at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
          > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
          > (Unknown Source)
          > at java.awt.Component.processMouseEvent(Unknown Source)
          > at javax.swing.JComponent.processMouseEvent(Unknown Source)
          > at java.awt.Component.processEvent(Unknown Source)
          > at java.awt.Container.processEvent(Unknown Source)
          > at java.awt.Component.dispatchEventImpl(Unknown Source)
          > at java.awt.Container.dispatchEventImpl(Unknown Source)
          > at java.awt.Component.dispatchEvent(Unknown Source)
          > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
          > Source)
          > at java.awt.LightweightDispatcher.processMouseEvent(Unknown
          > Source)
          > at java.awt.LightweightDispatcher.dispatchEvent(Unknown
          > Source)
          > at java.awt.Container.dispatchEventImpl(Unknown Source)
          > at java.awt.Window.dispatchEventImpl(Unknown Source)
          > at java.awt.Component.dispatchEvent(Unknown Source)
          > at java.awt.EventQueue.dispatchEvent(Unknown Source)
          > at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent
          > (PCGen_Frame1.java:3463)
          > at java.awt.EventDispatchThread.pumpOneEventForFilters
          > (Unknown Source)
          > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
          > Source)
          > at java.awt.EventDispatchThread.pumpEventsForHierarchy
          > (Unknown Source)
          > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          > at java.awt.EventDispatchThread.run(Unknown Source)
        • Dof Sifrin
          ... Yes, it does. Glad I could help. Chris
          Message 4 of 6 , Jul 4, 2007
            --- In pcgen@yahoogroups.com, "James Dempsey" <jdempsey@...> wrote:
            >
            > Hi Dof,
            >
            > Yes this is definitely a bug. I can reproduce this by creating a deity
            > with a domain assigned. Does that match what you are seeing?
            >
            > Cheers,
            > James.

            Yes, it does. Glad I could help.

            Chris
          Your message has been successfully submitted and would be delivered to recipients shortly.