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

Command Line PCGen Error

Expand Messages
  • pkukwork
    Hello, It worked before, but now when I invoke PCGen from the command line: C: Program Files Java j2re1.4.2_06 bin java.exe -Xms256m -Xmx512m
    Message 1 of 1 , Apr 2 7:41 AM
    View Source
    • 0 Attachment
      Hello,

      It worked before, but now when I invoke PCGen from the command line:

      "C:\Program Files\Java\j2re1.4.2_06\bin\java.exe" -Xms256m -Xmx512m
      -Dpcgen.inputfile="D:\Dungeons and Dragons\New Gallo\PCGen
      Characters\A - Ilse.pcg" -Dpcgen.outputfile="c:\program
      files\easyphp1-8\www\Downloads\PCGen Characters\A - Ilse.html"
      -Dpcgen.templatefile="D:\Dungeons and Dragons\New Gallo\PCGen
      outputsheets\csheet_fantasy_wiki.htm" -jar "D:\Dungeons and
      Dragons\PCGen\pcgen.jar"


      I get this:
      Bad main entry point in pcgen.gui.pcGenGUI
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at pcgen.core.Main.main(Main.java:76)
      Caused by: java.lang.NullPointerException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at
      pcgen.util.chooser.ChooserFactory.getChooserInstance(ChooserFactory.j
      ava:52)
      at pcgen.core.LevelAbility.process(LevelAbility.java:121)
      at
      pcgen.io.PCGVer2Parser.parseLevelAbilityInfo(PCGVer2Parser.java:4451)

      at
      pcgen.io.PCGVer2Parser.parseClassAbilitiesLevelLine(PCGVer2Parser.jav
      a:1438)
      at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:648)
      at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:151)
      at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:294)
      at pcgen.io.IOHandler.read(IOHandler.java:57)
      at pcgen.core.party.Party.loadPCFromFile(Party.java:277)
      at pcgen.core.party.Party.loadCharacterFiles(Party.java:262)
      at pcgen.core.party.Party.load(Party.java:141)
      at pcgen.gui.pcGenGUI.runNonGuiLoad(pcGenGUI.java:294)
      at pcgen.gui.pcGenGUI.runNonGui(pcGenGUI.java:237)
      at pcgen.gui.pcGenGUI.<init>(pcGenGUI.java:168)
      at pcgen.gui.pcGenGUI.main(pcGenGUI.java:398)
      ... 5 more

      Any explanation ?

      Thanks in advance,

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