Menu

#13 1st time start fails with Java exception

v1.0 (example)
open
nobody
None
5
2014-08-02
2014-07-21
ocopa
No

The process indicated in readme.txt for 1st time start gives following fail result.
Running win 8.1 32 bit compatibility mode.
will try a restart and notify if that has different result.

C:\Programs\Matrex>java -jar matrex_start.jar
Setting java.util.logging.config.file property to C:\Programs\Matrex/matrexlog.p
roperties
Setting java.rmi.client.logCalls property to false
Exception in thread "main" java.lang.NullPointerException
at matrex.util.StringJoin.add(StringJoin.java)
at matrex.util.StringJoin.join(StringJoin.java)
at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
nfigPathFromProperties.java)
at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
erties.java)
at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

    at matrex.MatrexLoader.main(MatrexLoader.java)

C:\Programs\Matrex>

Related

Bugs: #13

Discussion

  • aferrandi

    aferrandi - 2014-07-29

    Matrex tries to read the properties from the file:

    <appdir>/config/main.properties</appdir>

    where appdir is the root directory of the application (containing the matrex_start.jar file and many directories).
    Something goes wrong when reading that file. Can you please check that the file exists in the right place and attach here its content?

     
    • ocopa

      ocopa - 2014-07-31

      i tried what follows...don't know if it is relevant...

      On Wed, Jul 30, 2014 at 7:10 AM, aferrandi aferrandi@users.sf.net wrote:

      Matrex tries to read the properties from the file:

      <appdir>/config/main.properties</appdir>

      where appdir is the root directory of the application (containing the
      matrex_start.jar file and many directories).
      Something goes wrong when reading that file. Can you please check that the
      file exists in the right place and attach here its content?


      Status: open
      Group: v1.0 (example)
      Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
      Last Updated: Mon Jul 21, 2014 01:03 AM UTC
      Owner: nobody

      The process indicated in readme.txt for 1st time start gives following
      fail result.
      Running win 8.1 32 bit compatibility mode.
      will try a restart and notify if that has different result.

      C:\Programs\Matrex>java -jar matrex_start.jar
      Setting java.util.logging.config.file property to
      C:\Programs\Matrex/matrexlog.p
      roperties
      Setting java.rmi.client.logCalls property to false
      Exception in thread "main" java.lang.NullPointerException
      at matrex.util.StringJoin.add(StringJoin.java)
      at matrex.util.StringJoin.join(StringJoin.java)
      at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
      nfigPathFromProperties.java)
      at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
      erties.java)
      at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

      at matrex.MatrexLoader.main(MatrexLoader.java)
      

      C:\Programs\Matrex>

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/matrex/bugs/13/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

    • ocopa

      ocopa - 2014-07-31

      re main.properties
      i sent you the directory earlier so you can see where it is.
      content copied via wordpad

      How does $DATA_PATH get used, there is nothing in path variable

      help=$DATA_PATH/config/help.xml
      defwinpos=$DATA_PATH/config/defwinpos.xml
      machine=$DATA_PATH/config/machinesettings.xml
      operators=$DATA_PATH/config/operators.xml
      winpos=$DATA_PATH/config/winpos.xml
      gui=$DATA_PATH/config/guisettings.xml
      session=$DATA_PATH/config/session.xml
      lib=$DATA_PATH/config/libraries.cld
      plugins=$DATA_PATH/config/plugins.cld
      bin=$DATA_PATH/config/matrex.cld
      templates=$DATA_PATH/config/templates.cld
      scripts=$DATA_PATH/config/scripts.cld
      addresses=$DATA_PATH/config/addresses.xml

      On Wed, Jul 30, 2014 at 7:10 AM, aferrandi aferrandi@users.sf.net wrote:

      Matrex tries to read the properties from the file:

      <appdir>/config/main.properties</appdir>

      where appdir is the root directory of the application (containing the
      matrex_start.jar file and many directories).
      Something goes wrong when reading that file. Can you please check that the
      file exists in the right place and attach here its content?


      Status: open
      Group: v1.0 (example)
      Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
      Last Updated: Mon Jul 21, 2014 01:03 AM UTC
      Owner: nobody

      The process indicated in readme.txt for 1st time start gives following
      fail result.
      Running win 8.1 32 bit compatibility mode.
      will try a restart and notify if that has different result.

      C:\Programs\Matrex>java -jar matrex_start.jar
      Setting java.util.logging.config.file property to
      C:\Programs\Matrex/matrexlog.p
      roperties
      Setting java.rmi.client.logCalls property to false
      Exception in thread "main" java.lang.NullPointerException
      at matrex.util.StringJoin.add(StringJoin.java)
      at matrex.util.StringJoin.join(StringJoin.java)
      at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
      nfigPathFromProperties.java)
      at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
      erties.java)
      at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

      at matrex.MatrexLoader.main(MatrexLoader.java)
      

      C:\Programs\Matrex>

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/matrex/bugs/13/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

  • aferrandi

    aferrandi - 2014-07-29

    The problem is that Matrex tries to break one of the paths in the main.properties file in single directories and recompose it later to a path. In the second operation there is something that is empty, giving the error.

     
  • aferrandi

    aferrandi - 2014-07-29

    Also, how are the permissions on the C:\Programs\Matrex directory? Can Matrex read/write without problems?

     
    • ocopa

      ocopa - 2014-07-31

      No, matrex can only read and execute.
      Authenticated users can write. In 8.1 i think i would have to create a
      special user class otherwise ANY application could write to matrex.
      In 8.1 matrex should only be writing to <user>\Appdata, shouldn't it?
      will reply to other questions shortly.</user>

      On Wed, Jul 30, 2014 at 7:19 AM, aferrandi aferrandi@users.sf.net wrote:

      Also, how are the permissions on the C:\Programs\Matrex directory? Can
      Matrex read/write without problems?


      Status: open
      Group: v1.0 (example)
      Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
      Last Updated: Tue Jul 29, 2014 09:16 PM UTC
      Owner: nobody

      The process indicated in readme.txt for 1st time start gives following
      fail result.
      Running win 8.1 32 bit compatibility mode.
      will try a restart and notify if that has different result.

      C:\Programs\Matrex>java -jar matrex_start.jar
      Setting java.util.logging.config.file property to
      C:\Programs\Matrex/matrexlog.p
      roperties
      Setting java.rmi.client.logCalls property to false
      Exception in thread "main" java.lang.NullPointerException
      at matrex.util.StringJoin.add(StringJoin.java)
      at matrex.util.StringJoin.join(StringJoin.java)
      at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
      nfigPathFromProperties.java)
      at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
      erties.java)
      at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

      at matrex.MatrexLoader.main(MatrexLoader.java)
      

      C:\Programs\Matrex>

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/matrex/bugs/13/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

  • aferrandi

    aferrandi - 2014-07-29

    Can you post the structure of the Matrex directory (command line TREE command, for example)?

     
    • ocopa

      ocopa - 2014-07-31

      On Wed, Jul 30, 2014 at 7:22 AM, aferrandi aferrandi@users.sf.net wrote:

      Can you post the structure of the Matrex directory (command line TREE
      command, for example)?


      Status: open
      Group: v1.0 (example)
      Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
      Last Updated: Tue Jul 29, 2014 09:19 PM UTC
      Owner: nobody

      The process indicated in readme.txt for 1st time start gives following
      fail result.
      Running win 8.1 32 bit compatibility mode.
      will try a restart and notify if that has different result.

      C:\Programs\Matrex>java -jar matrex_start.jar
      Setting java.util.logging.config.file property to
      C:\Programs\Matrex/matrexlog.p
      roperties
      Setting java.rmi.client.logCalls property to false
      Exception in thread "main" java.lang.NullPointerException
      at matrex.util.StringJoin.add(StringJoin.java)
      at matrex.util.StringJoin.join(StringJoin.java)
      at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
      nfigPathFromProperties.java)
      at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
      erties.java)
      at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

      at matrex.MatrexLoader.main(MatrexLoader.java)
      

      C:\Programs\Matrex>

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/matrex/bugs/13/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

  • aferrandi

    aferrandi - 2014-08-02

    Hei can you please replace all instances of $DATA_PATH in the config/main.properties file with C:/Programs/Matrex?

     
    • ocopa

      ocopa - 2014-08-02

      i uninstalled and reinstalled, tried putting matrex in user, but even
      though i used uninstaller it found programs/matrex again, although it did
      put $DATA_PATH in users.
      Anyway i ran from Programs again after changing mains as requested, and got
      this

      main ->
      help=C:/Programs/Matrex/config/help.xml
      defwinpos=C:/Programs/Matrex/config/defwinpos.xml
      machine=C:/Programs/Matrex/config/machinesettings.xml
      operators=C:/Programs/Matrex/config/operators.xml
      winpos=C:/Programs/Matrex/config/winpos.xml
      gui=C:/Programs/Matrex/config/guisettings.xml
      session=C:/Programs/Matrex/config/session.xml
      lib=C:/Programs/Matrex/config/libraries.cld
      plugins=C:/Programs/Matrex/config/plugins.cld
      bin=C:/Programs/Matrex/config/matrex.cld
      templates=C:/Programs/Matrex/config/templates.cld
      scripts=C:/Programs/Matrex/config/scripts.cld
      addresses=C:/Programs/Matrex/config/addresses.xml

      i will give this another try.

      On Sat, Aug 2, 2014 at 10:49 PM, aferrandi aferrandi@users.sf.net wrote:

      Hei can you please replace all instances of $DATA_PATH in the
      config/main.properties file with C:/Programs/Matrex?


      Status: open
      Group: v1.0 (example)
      Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
      Last Updated: Tue Jul 29, 2014 09:22 PM UTC
      Owner: nobody

      The process indicated in readme.txt for 1st time start gives following
      fail result.
      Running win 8.1 32 bit compatibility mode.
      will try a restart and notify if that has different result.

      C:\Programs\Matrex>java -jar matrex_start.jar
      Setting java.util.logging.config.file property to
      C:\Programs\Matrex/matrexlog.p
      roperties
      Setting java.rmi.client.logCalls property to false
      Exception in thread "main" java.lang.NullPointerException
      at matrex.util.StringJoin.add(StringJoin.java)
      at matrex.util.StringJoin.join(StringJoin.java)
      at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
      nfigPathFromProperties.java)
      at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
      erties.java)
      at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

      at matrex.MatrexLoader.main(MatrexLoader.java)
      

      C:\Programs\Matrex>

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/matrex/bugs/13/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

    • ocopa

      ocopa - 2014-08-02

      On Sat, Aug 2, 2014 at 10:49 PM, aferrandi aferrandi@users.sf.net wrote:

      Hei can you please replace all instances of $DATA_PATH in the
      config/main.properties file with C:/Programs/Matrex?


      I uninstalled from program files and deleted the folder and re-installed
      in user.

      The matrex path setup duplicates the path name.
      see bin for which path is c:\users\<me>\matrex\c:users\ etc in attachment</me>

      also, the install goes looking for javaw

      main.properties looks like the attachment...

       
      • ocopa

        ocopa - 2014-08-03

        Why? see my previous email.
        The programs are not in c:\Programs\Matrex any more they are in
        c:\Users\Gerald\Matrex, which allows write to the folders, and your setup
        duplicates the path as indicated in the note and in the attachment.
        There are two instances of C:\ in the one path name, which makes no sense
        whatever.
        The attachments were matrex.rtf and matrex2.rtf.
        This is what i sent you....................

        I uninstalled from program files and deleted the folder and re-installed
        in user.

        The matrex path setup duplicates the path name.
        see bin for which path is c:\users\<me>\matrex\c:users\ etc</me> in
        attachment

        also, the install goes looking for javaw

        main.properties looks like the attachment...

        Can you see the duplication underlined and in bold, have you looked at the
        line for bin in the attachment?

        On Sun, Aug 3, 2014 at 8:51 AM, ocopa ocopa@users.sf.net wrote:

        On Sat, Aug 2, 2014 at 10:49 PM, aferrandi aferrandi@users.sf.net wrote:

        Hei can you please replace all instances of $DATA_PATH in the
        config/main.properties file with C:/Programs/Matrex?


        I uninstalled from program files and deleted the folder and re-installed
        in user.

        The matrex path setup duplicates the path name.
        see bin for which path is c:\users\<me>\matrex\c:users\ etc in attachment</me>

        also, the install goes looking for javaw

        main.properties looks like the attachment...

        Status: open
        Group: v1.0 (example)
        Created: Mon Jul 21, 2014 01:03 AM UTC by ocopa
        Last Updated: Sat Aug 02, 2014 12:49 PM UTC
        Owner: nobody

        The process indicated in readme.txt for 1st time start gives following
        fail result.
        Running win 8.1 32 bit compatibility mode.
        will try a restart and notify if that has different result.

        C:\Programs\Matrex>java -jar matrex_start.jar
        Setting java.util.logging.config.file property to
        C:\Programs\Matrex/matrexlog.p
        roperties
        Setting java.rmi.client.logCalls property to false
        Exception in thread "main" java.lang.NullPointerException
        at matrex.util.StringJoin.add(StringJoin.java)
        at matrex.util.StringJoin.join(StringJoin.java)
        at matrex.file.config.ConfigPathFromProperties.replaceVariablesInPath(Co
        nfigPathFromProperties.java)
        at matrex.file.config.ConfigPathFromProperties.<init>(ConfigPathFromProp
        erties.java)
        at matrex.file.config.ConfigPathFromFile.<init>(ConfigPathFromFile.java)</init></init>

        at matrex.MatrexLoader.main(MatrexLoader.java)
        

        C:\Programs\Matrex>

        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/matrex/bugs/13/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #13


Log in to post a comment.

MongoDB Logo MongoDB