Click "Save" in OpenRocket & it Shuts Down w/o Saving

Discussion in 'Rocketry Electronics and Software' started by MGL, Feb 11, 2020.

Help Support The Rocketry Forum by donating:

  1. Feb 11, 2020 #1

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    OpenRocket version 15.03
    Windows 10 Pro version 1909

    I designed a sustainer section and when I went to "Save" the program closed without saving the file. I tried several times with same results, start a New file, add components, then tried "Save" & "Save As".
    Any help appreciated.
     
  2. Feb 24, 2020 #2

    sjh1

    sjh1

    sjh1

    Well-Known Member

    Joined:
    Nov 20, 2011
    Messages:
    100
    Likes Received:
    5
    I have tried to replicate your issue to no avail. Is there a way I can get a hold of you to get more info.
     
    MGL and neil_w like this.
  3. Feb 24, 2020 #3

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    Thanks Stephen!
     
  4. Feb 25, 2020 #4

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    Still happens. Could it be an issue with security software?
     
  5. Feb 25, 2020 #5

    sjh1

    sjh1

    sjh1

    Well-Known Member

    Joined:
    Nov 20, 2011
    Messages:
    100
    Likes Received:
    5
    That is possible. Try turning it off and see if it still happens. Another thing I would like you to try is make a simple rocket and try to save after each component. Select a nose cone, save. Add a body tube, save. Add some fins, save. Use the same name to save to. If you get a crash at any point post the file on how far you got and what you are trying to add. Also if you change and parameters also save. I am thinking you have either a bad component or parameter that is causing the issue. Also can you tell me what version of java you are using.
     
  6. Feb 25, 2020 #6

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    Security software off made no difference. I can't SAVE after the first step of adding a nose cone without it shutting down.
    Annotation 2020-02-25 053712.png
     
  7. Feb 25, 2020 #7

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    Did you already try to update Java on your PC?
    [Edit] I see you have the actual version [/Edit]
    If you start OpenRocket in a cmd window:

    java -jar OpenRocket-15.03.jar

    Do you see any message in the terminal when OpenRocket crashes?
     
    Last edited: Feb 25, 2020
  8. Feb 25, 2020 #8

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    He’s running from the packaged installer, so that is not applicable.
     
  9. Feb 25, 2020 #9

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    OK, just thought that in a next step it could be run with the -verbose option to see when it actually crashes.
     
  10. Feb 25, 2020 #10

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    It's a good thought, I'll have to think if there's a way to force that from within the packaged version.

    [addendum] The Java inside the packaged version is a DLL file (i.e., "java.dll"). Any idea how to run it that way and give it additional command-line arguments?
     
    Last edited: Feb 25, 2020
  11. Feb 25, 2020 #11

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    How did he download the packaged installer? I even cannot see it on the page.
    Would it be an option, that he downloads the jar? With the Java installed it should start when doubleclicking.

    [Edit]Just to be sure, we are talking about an .EXE?[/Edit]
     
  12. Feb 25, 2020 #12

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
  13. Feb 25, 2020 #13

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    Thanks for the info. Great work by the way.

    I can't see any way to pass the -verbose option to the packaged jar.

    MGL displayed the printscreen with the Java Version installed. I assume he did that with the Java Control Panel and already has Java installed.
    So possibly he might try to download the jar directly into C:\, then open a cmd window and with the commands:
    C:
    cd \
    java -jar -verbose OpenRocket-15.03.jar

    start the .jar in verbose mode

    Then try to save a file and see if the same problem occurs.
     
  14. Feb 25, 2020 #14

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    @MGL, could you give that a try? See if you can get the regular JAR file downloaded from the OR website to run on your machine.
     
  15. Feb 26, 2020 #15

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    I uninstalled OR, downloaded from OR website. The program wont start and I get .txt files,
    Annotation 2020-02-25 200210.png
    And,
    Annotation 2020-02-25 200330.png

     
  16. Feb 26, 2020 #16

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    It is a .log file that opens with notepad, but when I try to "save as" as a .txt file it saves as .log again.
     
  17. Feb 26, 2020 #17

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    Got it,
     

    Attached Files:

  18. Feb 26, 2020 #18

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
  19. Feb 26, 2020 #19

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    Thanks for that. If we can get the plain JAR file working on your machine, then maybe we can get some logs that explain why Save is blowing up. Hang in there, not giving up yet.
     
  20. Feb 26, 2020 #20

    Reinhard

    Reinhard

    Reinhard

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    928
    Likes Received:
    70
    Location:
    Austria
    I think I can reproduce that. On my computer, the packaged version shuts down immediately after trying to open or save a file. The JAR works fine though.

    Crashing the packed version will leave the following event in Windows' security log:
    https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4798
    Run as administrator results in the same result.

    Reinhard
     
  21. Feb 26, 2020 #21

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    Excellent, thanks for that. Will investigate.
     
  22. Feb 27, 2020 #22

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    Which jar file and how do I get it to you?
     
  23. Feb 28, 2020 #23

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    The jar file you just tried. Unfortunately we've not had any progress yet.
     
  24. Feb 28, 2020 #24

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    I did some search on Google. The crash when trying to save a file and also the crash when opening, might be an issue related to a combination with the graphics driver. This is a hint only.
    I do not know if developers are reading here too. Maybe they can help.
    If needed, I can send the links to the Java/Oracle bug report, which makes me think it could be an issue with the graphics driver.

    Bug Id is: Bug ID: JDK-8181199
     
    Last edited: Feb 28, 2020
    MGL and Reinhard like this.
  25. Feb 28, 2020 #25

    Reinhard

    Reinhard

    Reinhard

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    928
    Likes Received:
    70
    Location:
    Austria
    MGL likes this.
  26. Feb 28, 2020 #26

    MGL

    MGL

    MGL

    Forum Supporter TRF Supporter

    Joined:
    Nov 13, 2012
    Messages:
    40
    Likes Received:
    13
    Gender:
    Male
    Location:
    Mineral Wells, Texaas
    Winner winner Chicken dinner.
    I had the God Mode file on my desktop & that's the problem. Deleted it and OR works fine again.
    Thank you all much.
     
  27. Feb 29, 2020 #27

    neil_w

    neil_w

    neil_w

    Hunkered down TRF Supporter

    Joined:
    Jul 14, 2015
    Messages:
    7,636
    Likes Received:
    1,503
    Location:
    Northern NJ
    Great!!!

    I still don't understand what that God mode folder is, though, and how it got there, and why you guys had it and I don't?

    (actually I should double-check my machine, but certainly I've never experienced the save problem).
     
  28. Feb 29, 2020 #28

    chrocket

    chrocket

    chrocket

    Member

    Joined:
    Jan 24, 2020
    Messages:
    14
    Likes Received:
    2
    Gender:
    Male
    The God mode folder has to be created by the user. It provides some kind of centralised super admin tweaks.
     
  29. Feb 29, 2020 #29

    Reinhard

    Reinhard

    Reinhard

    Well-Known Member

    Joined:
    Jan 18, 2009
    Messages:
    928
    Likes Received:
    70
    Location:
    Austria
    Steps to reproduce the error:
    1) Create new folder on desktop
    2) (Admin privileges required) Rename the folder to: "OpenRocketKiller.{ED7BA470-8E54-465E-825C-99712043E01C}" (without quotation marks"
    3) Folder turns to nameless icon (God Mode is a common name for that, but not an official designation, as I understand it)
    4) Start OR, try to use open or save dialog

    Reinhard
     
    MGL likes this.

Share This Page

Group Builder