Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to export a STL file throws a NullPointerException #57

Closed
rimadoma opened this issue Dec 11, 2017 · 2 comments
Closed

Trying to export a STL file throws a NullPointerException #57

rimadoma opened this issue Dec 11, 2017 · 2 comments

Comments

@rimadoma
Copy link

No matter how you create a view with a mesh (add your own programmatically, run SciView>Add Box...), trying to export an STL file causes a NullPointerException at https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/io/ExportSTL.java#L30 because there are no viewers in DefaultSciViewService.

Steps to reproduce

  1. Run ImageJ
  2. Run SciView >Add>Box
  3. Run SciView>Export>STL_

Environment

  • Win 8.1 64-bit
  • JRE 1.8.0_152
  • Vulkan renderer (JVM -Dscenery.Renderer=VulkanRenderer)
  • Lenovo G50-70
@rimadoma
Copy link
Author

I also get a NullPointerException at https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/viewing/RotateView.java#L20 when running SciView>View>Rotate, because there are no viewers. NPEs from anything else in the View-submenu. This is probably related to the same bug. Let me know if you want me to create separate issues.

@kephale
Copy link
Member

kephale commented Apr 25, 2018

I believe this is resolved now.

@kephale kephale closed this as completed Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants