Comments (3)
Looks like the cause is that the code to set the motor configuration is commented out for the test rockets ( openrocket.util.TestRockets.makeIsoHaisu() and openrocket.util.TestRockets.makeBigBlue() ), copy expects motor configuration to be there. BodyTube.copyWithOriginalID() expects the motor configuration to be non-null at line 435.
Fix is either to modify the motor configuration code for the test rockets to work (if I uncomment it doesn't work), or to modify BodyTube copy to accept a null motor configuration. Do all body tubes have a motor configuration?
from openrocket.
Actually, it's more likely a bug in the BodyTube constructors. There are three. The no argument constructor initializes the configuration. However, the two others do not initialize it. These are only used by the test rockets.
I'll fix this.
from openrocket.
Fixed BodyTube constructors.
from openrocket.
Related Issues (20)
- [Feature Request] Present Thrust Curve Date data in OR "Show Details" window HOT 2
- [Bug] Incorrect stability for booster stage
- Uncaught Exception HOT 2
- [Bug] OpenRocket on Intel macOS AMD GPU scaling decals up over 1000x HOT 2
- Provide saved configurations for plots HOT 2
- [Bug] IllegalStateException
- [Bug] Disabling sustainer on single stage rocket has no effect HOT 1
- [Bug] exception in RockSim export HOT 2
- [Feature Request] Preference to globally disable auto-pop of Parts Library
- Uncaught Exception HOT 2
- [Feature Request] Vent hole component
- [Bug] Acceleration is zero in SimulationListener's SimulationStatus HOT 2
- [Enhancement] Use more advanced triangulation in OBJ export HOT 1
- [Bug] "Export as" "Export simulation table as CSV file" menu options incorrect: should be "Export as...", etc.
- [Bug] PhotoStudio horking alpha channel for flame and for smoke in Save to .png HOT 1
- [Feature Request] Report fin pressure and base drag separately HOT 2
- [Bug] Staging and ignition triggered by ejection charge causes late motor ignition
- [Bug] Some component default wall thicknesses are 0
- [Bug] <GUI glitching out> HOT 7
- [Feature Request] Part 1 of Sim Tab overhaul HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrocket.