OpenRocket: packaged installers for Windows and Mac to solve all your Java problems

The Rocketry Forum

Help Support The Rocketry Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Well, it seems I too am having an issue with the packaged installer. I recently had to reinstall Win7 on my HTPC do to corrupted system files. Along the way I also upgraded Win7 to SP1. Anyhoot with the reinstall, the packaged version of OR opens with the following error.

OR Null Pointer Error.jpg
Sorry for the image size. It's a screen capture from my 4K TV.

I have tried uninstalling OR, running the Java cleanup utility & CCleaner, then reinstalling OR but the error remains. I have also scanned the HDD for bad sectors. Nothing out of order there.

PC Config Info
OS: Win7 w/SP1
CPU: Intel Core i7-920 (Running stock clocks)
RAM: 6GB PC3-12800 (Crucial BLT2G3D1608DT2TXRG)
GPU: EVGA GTX 960
nVidia Driver: 445.87

My edited OR bug report is attached below.

I will post the report to OR's GitHub page but thought it would not hurt to post it here too.

Help?
 

Attachments

  • OR Bug.txt
    17.4 KB · Views: 15
It appears that there's something odd with the files in your local ThrustCurves files:

> java.io.IOException: Propellant weight exceeds total weight in RockSim engine format
> at net.sf.openrocket.file.motor.RockSimMotorLoader.load(RockSimMotorLoader.java:72)
> at net.sf.openrocket.file.motor.AbstractMotorLoader.load(AbstractMotorLoader.java:27)
> at net.sf.openrocket.file.motor.GeneralMotorLoader.load(GeneralMotorLoader.java:36)
> at net.sf.openrocket.database.MotorDatabaseLoader.loadDirectory(MotorDatabaseLoader.java:124)
> at net.sf.openrocket.database.MotorDatabaseLoader.loadDatabase(MotorDatabaseLoader.java:69)
> at net.sf.openrocket.database.AsynchronousDatabaseLoader.doLoad(AsynchronousDatabaseLoader.java:103)
> at net.sf.openrocket.database.AsynchronousDatabaseLoader.access$100(AsynchronousDatabaseLoader.java:8)
> at net.sf.openrocket.database.AsynchronousDatabaseLoader$LoadingThread.run(AsynchronousDatabaseLoader.java:126)
> Caused by: org.xml.sax.SAXException: Propellant weight exceeds total weight in RockSim engine format


This error is occurring when trying to load the files in your ThrustCurve directory. I wonder if something else is corrupted other than your system files. Maybe try renaming the directory and reloading OR. That should at least get it to start.
 
Thx wolsen for the reply.
I honestly do not know how this has happened as the OS is a fresh install and the error occurred on first run of OR. But, I will delete all referrences of OR in Windows registry as well as all OR directories in the AppData subfolders.
 
Thx wolsen for the reply.
I honestly do not know how this has happened as the OS is a fresh install and the error occurred on first run of OR. But, I will delete all referrences of OR in Windows registry as well as all OR directories in the AppData subfolders.

Hmm so completely brand new install of the OS? No saved user data of any kind?
 
Years later and this thread is still of great benefit. THANK YOU for packaging this an an application for my MacBook running 10.14 (Mojave). There are very few hairs left on my head after struggling with getting ANY JRE 8 working with the .jar file, so this is a blessing.
Next I need to get this running on my Linux system ... maybe.
 
Post 88 of this thread has a Linux version that works on my Mint 20. I have not really gotten into it lately but at least it opens where it always returned an error in any WINE install I tried. I think it should be added to the first post under a Linux heading.

Richard
 
Hi everyone,

I would like to run the OpenRocket installer so that it loads OpenRocket in an external drive, and not in the C:-drive on my computer.

Is that possible to do?

Thank you.

Stanley
 
Hi everyone,

I would like to run the OpenRocket installer so that it loads OpenRocket in an external drive, and not in the C:-drive on my computer.

Is that possible to do?

Thank you.

Stanley
Okay, here we go...

The packaged installer creates 2 sets of folders.
1) Executable (Program) files are placed in %localAppData%\OpenRocket
2) The support folders (Components, Plugins & Thrustcurves) are placed in %AppData%\OpenRocket

To install OpenRocket to an external or network drive, one prerequisite must be met. Said drive must be associated with the OS as a local drive. In other words it needs to appear in Windows Explorer as a drive with a "Drive Letter", like your "C" drive.

Note: If you have already installed the packaged version of OpenRocket, it must be uninstalled prior to using these instructions.

The following instructions will assume the drive letter for your external drive is "P". When copying the commands, just change the drive letter "P" to whatever letter your external drive is assigned.

Part-1: Creating folders on external drive

1) Open a command window (If unsure how, see This Tutorial)
2) In the command window, type P <Enter> (<Enter> = "Enter key")
3) next, type the following commands in order
mkdir OpenRocket <Enter>
cd \OpenRocket <Enter>
mkdir Program <Enter>
mkdir Folders <Enter>


Part-2: Creating links to external drive

Note: If the folder "OpenRocket" already exists at either %LocalAppData% or %AppData%, they must be moved or deleted prior to executing the following commands

1) In the command window, type the following commands in order
mklink /J "%LocalAppData%\OpenRocket" "P:\OpenRocket\Program" <Enter>
mklink /J "%AppData%\OpenRocket" "P:\OpenRocket\Folders"<Enter>

Now run the OpenRocket packaged installer.

That should do it...
 
Last edited:
Hi Tobor,

Thank you. But I am running into complications. I get the following message:

Local NTFS volumes are required to complete the operation

I don't know how to solve that.

Stanley
 
Hi Tobor,

Actually, this is interesting -- but not pleasing.

Here is what happened. For the sake of computer security, I always do my work in a profile with restricted access. So it occurred to me to go into my administrator's profile, where I have full access to the computer.

Then I followed all your steps, and everything worked perfectly.

And then I ran the OpenRocket packaged installer, but once again OpenRocket installed right into the C:-drive on my computer -- just like it did to begin with.

Stanley
 
Hi Tobor (and anyone else),

No, actually I am back with the original error message of "Local NTFS volumes are required to complete the operation"

Here is what happened. One more time, I went back into my administrator's account. I started fresh and I deleted all the folders that I was supposed to create -- namely, P:\OpenRocket, P:\OpenRocket\Program and P:\OpenRocket\Folders.

Then I used the three mkdir commands to create those, and everything worked fine.

Then I entered the command of mklink /J "%LocalAppData%\OpenRocket" "P:\OpenRocket\Program"

And then I got the message "Local NTFS volumes are required to complete the operation"

So I am stomped.

Stanley
 
Hi Stanley,
Question: Is the external drive an attached drive (via USB, Thunderbolt, etc...), or is it a network drive (or partition) on a server, NAS box, etc.?
 
Hi Stanley,
Question: Is the external drive an attached drive (via USB, Thunderbolt, etc...), or is it a network drive (or partition) on a server, NAS box, etc.?
Hi Tobor,

The external drive is connected via USB. It is not a network drive or partition.

Stanley
 
Hi Tobor,

The external drive is connected via USB. It is not a network drive or partition.

Stanley
Okay, it sounds like a permissions issue.
For the sake of keeping this thread on topic, plz PM me (Start a Conversation) with the following info:
*Make & Model of computer
*Windows version
*Type of External drive (Docking Station, Portable enclosure, USB-2 or USB-3)

After we find a solution, you or I can post the info in this thread to share.
 
Hi neil_w,

Since you jumped in, I first want to thank you for writing the packaged installer.

But couldn't you please modify it so that a user could install the package into whatever drive they want?

Thank you for your consideration.

Stanley
 
Since you jumped in, I first want to thank you for writing the packaged installer.

But couldn't you please modify it so that a user could install the package into whatever drive they want?
The installer for the new version of OR should be better. I won't be spending any more time on this one though, sorry.
 
Thanks @Tobor for taking this one, because I have no idea about this stuff. :)
Yeppers, no worries.

--------------------------------------------
So,
I ended up doing a Zoom meeting with Stanley [I'm not a big fan of Zoom but it does work].

In the end, I did not resolve the hardware permissions issue. Windows can be a pain sometimes. One day I will find a solution, but for now, after addressing Stanley's concerns regarding Java security, he opted for the default install of the packaged installer. After the install, I helped Stanley create a desktop icon to launch OR, which the packaged installer does not do. All's well that ends well as was the case here.

@MetricRocketeer: It was very nice speaking with you. Enjoy using OpenRocket! 👍
 
...In the end, I did not resolve the hardware permissions issue. Windows can be a pain sometimes. One day I will find a solution, but for now, after addressing Stanley's concerns regarding Java security, he opted for the default install of the packaged installer. After the install, I helped Stanley create a desktop icon to launch OR, which the packaged installer does not do. All's well that ends well as was the case here.
Update:
After my last post, I had another Zoom meeting with Stanley. And, after reviewing his system, I discovered that despite the NTFS error he encountered using the mklink commands, they had created the proper junction points. Which, I find odd but we were dealing with Win10, so there ya go...
 
Hi Tobor,

I want you and everyone to know how tremendously helpful you were to me.

I have been happily engrossed with OpenRocket since we spoke, and I have come to really enjoy building rockets with it.

I don't know which simulation program is better at flight simulation -- RockSim or OpenRocket. At this point, however, I believe that I can confidently state that OR is better for building and designing rockets.

Stanley
 
I have used OpenRocket in the past, just tried to use it again and it gives me an error:
OpenRocket quit unexpectedly... when I look at the report...
***Terminating app due to uncaught exception 'NSInternalInconsistencyEception', reason 'NSWindow drag regions should only be invalidated on the Main Thread!'

huh???

OS: macOS Big Sur v 11.2.1
OpenRocket: 15.0.3.jar

I do run dual monitors, but have done so prior also... but who knows.

Any help would be greatly appreciated!

Thanks.
 
I have used OpenRocket in the past, just tried to use it again and it gives me an error:
OpenRocket quit unexpectedly... when I look at the report...
***Terminating app due to uncaught exception 'NSInternalInconsistencyEception', reason 'NSWindow drag regions should only be invalidated on the Main Thread!'

huh???

OS: macOS Big Sur v 11.2.1
OpenRocket: 15.0.3.jar

I do run dual monitors, but have done so prior also... but who knows.

Any help would be greatly appreciated!

Thanks.

Does it happen when switching out of one of the 3D views? If so, try checking the option to "use off-screen rendering" in the preferences if it isn't already, and restarting the app.
 
it crashes when I try to open it. doesn't make it that far.

Hmmm... that is odd. I am running OpenRocket on the same version of Big Sur as you without issue (including on the new M1 Macs). I take it since you are posting in this thread that you have used the packaged installer and are not trying to run the JAR file from the official OR website. If the latter, you will need to have Java 8 installed on your computer as it won’t run properly with newer Java versions IIRC.
 
was running the JAR file, but have the later version of Java... so the problem...
Just downloaded the packaged installer and it's working!

Thanks!!!
 
Do you know how the linux AppImage uses system themes? I would like to keep my system theme the same but change OpenRocket to a light theme, but it doesn't seem to use Qt or GTK, and I can't figure out how to change it independently of the entire system. Any help is appreciated.
 
Back
Top