NullPointerException error when starting DynHUD editor

Discussion in 'Automobilista - Help & Support' started by jztemple, Mar 21, 2016.

  1. jztemple

    jztemple New Member

    Joined:
    Mar 9, 2016
    Messages:
    13
    Likes Received:
    7
    I've used the editor before with no problems, but this morning I'm seeing this dialog box pop up when I try to start the editor:

    [​IMG]

    I checked the editor log and it shows this:

    Process-ID: 9820
    Windows version: 6.1.7601
    Doing Handshake from Plugin side...
    Successfully created a pointer to a PAGEFILE Memory Mapped File.
    Found first part of handshake. Doing second part...
    Second part of Handshake successful. Handshake complete.
    Starting up DynHUD Plugin (D3D part)...
    Doing a sanity check...
    Sanity check passed.
    Initializing DirectInput...
    Successfully initialized DirectInput.
    Using Java from folder "C:\Program Files (x86)\Steam\steamapps\common\Automobilista\Plugins\DynHUD\Java".
    Loading msvcr100.dll... done.
    Loading jvm.dll... done.
    Successfully loaded Java dlls.
    Invoking Java VM...
    JVM options:
    -Djava.library.path=C:\Program Files (x86)\Steam\steamapps\common\Automobilista\Plugins;${system_property:java.library.path}
    -Djava.class.path=C:\Program Files (x86)\Steam\steamapps\common\Automobilista\Plugins\DynHUD\dynhud.jar;C:\Program Files (x86)\Steam\steamapps\common\Automobilista\Plugins\DynHUD\dynhud_gamedata.jar
    -Dworkdir=C:\Program Files (x86)\Steam\steamapps\common\Automobilista\Plugins\DynHUD
    -Xms96m
    -Xmx96m
    -XX:MaxGCPauseMillis=5
    -XX:+UseAdaptiveSizePolicy
    -Xincgc
    -Dsun.java2d.opengl=true
    -Dsun.java2d.d3d=false
    -Dsun.java2d.noddraw=true
    JVM properties:
    java.vm.vendor = "Oracle Corporation"
    java.vm.name = "Java HotSpot(TM) Client VM"
    java.vm.version = "25.74-b02"
    java.runtime.version = "1.8.0_74-b02"
    java.awt.graphicsenv = "sun.awt.Win32GraphicsEnvironment"
    Successfully invoked Java VM.
    Retrieving Java objects and methods...
    Initializing input bindings...
    Finished initialization of input bindings.
    Successfully retrieved Java objects and methods.
    Starting up DynHUD Plugin (telemetry part)...
    Successfully started up DynHUD Plugin.
    Texture requested. Updating textures...
    Building texture atlas... done. (1024, 2048)
    (Re)Creating overlay texture... Texture created successfully.
    (Re)Creating proxy texture... Texture created successfully.
    Textures successfully updated.
    Resetting D3D Device (releasing textures)...
    Releasing proxy texture... done.
    Releasing overlay texture... done.
    Releasing vertex buffer... done.
    Successfully released textures.
    postReset(). Updating Textures...
    Texture requested. Updating textures...
    Building texture atlas... done. (1024, 2048)
    (Re)Creating overlay texture... Texture created successfully.
    (Re)Creating proxy texture... Texture created successfully.
    Textures successfully updated.
    Texture requested. Updating textures...
    Building texture atlas... done. (1024, 2048)
    Textures successfully updated.
    Resetting D3D Device (releasing textures)...
    Releasing proxy texture... done.
    Releasing overlay texture... done.
    Releasing vertex buffer... done.
    Successfully released textures.
    postReset(). Updating Textures...
    Texture requested. Updating textures...
    Building texture atlas... done. (1024, 2048)
    (Re)Creating overlay texture... Texture created successfully.
    (Re)Creating proxy texture... Texture created successfully.
    Textures successfully updated.
    Shutting down DynHUD Plugin...
    Successfully shut down DynHUD Plugin.
    Releasing D3D Device (releasing textures)...
    Releasing proxy texture... done.
    Releasing overlay texture... done.
    Releasing vertex buffer... done.
    Successfully released textures.
    Disposing DirectInput...
    Disposing Keyboard... Successfully disposed Keyboard.
    Disposing Joysticks... Successfully disposed Joysticks.
    Disposing DirectInput... Successfully disposed DirectInput.
    Successfully disposed DirectInput.
    Destroying Java VM...
    Successfully destroyed Java VM.
     
  2. Thiago Izequiel

    Thiago Izequiel Active Member AMS2 Club Member

    Joined:
    Mar 7, 2016
    Messages:
    314
    Likes Received:
    199
    Had you run an Java update before this issue?
     
  3. jztemple

    jztemple New Member

    Joined:
    Mar 9, 2016
    Messages:
    13
    Likes Received:
    7
    No, but I had installed a couple of games and I'm wondering if perhaps an older version of Java was loaded. I will try to fix by installing the latest Java.
     
  4. Msportdan

    Msportdan Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    1,897
    Likes Received:
    606
    yep I've had this from last update. with reinstall reverify still no go.. Alex has confirmed and said it will be fixed next build (i think)
     
  5. jztemple

    jztemple New Member

    Joined:
    Mar 9, 2016
    Messages:
    13
    Likes Received:
    7
    That's good to know, since I did a Java reinstall with the latest version and that didn't fix the problem. So I'll keep an eye out for the next build.
     
  6. sherpa25

    sherpa25 Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    495
    Likes Received:
    78
    Had that problem too. Temp solution is to copy your userdata to your My Documents\Automobilista folder. Seems the app is looking at this new folder. Glad to hear it's going to be fixed soon.
     
    • Like Like x 1
  7. jztemple

    jztemple New Member

    Joined:
    Mar 9, 2016
    Messages:
    13
    Likes Received:
    7
    Thanks, that worked! I'm enjoying fiddling with the DynHUD editor, although I'm still a real neophyte at it.
     
    • Like Like x 1

Share This Page