NullPointerException and corrupted file
An interior design application to draw house plans & arrange furniture
Brought to you by:
puybaret,
space-mushrooms
SweetHome3D-5.2 on Ubuntu 14.04.
On saving a project (after having imported 3DModels-BlendSwap-CC-0-1.6.2.zip) I get this:
java.lang.NullPointerException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.eteks.sweethome3d.io.HomeFileRecorder.writeHome(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController$36.call(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController$36.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Trying to open the file again, results in:
Java 3D: implicit antialiasing enabled # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fe783b93a03, pid=15379, tid=140633474692864 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libGL.so.1+0x1aa03] __float128+0x53 # # An error report file with more information is saved as: # /tmp/hs_err_pid15379.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Aborted (core dumped)
The hs_err_pid15379.log file is attached.
I'm also attaching a screenshot of the display output right before the crash, in case it helps.
I tried again from a backup: importing the furniture library had nothing to do with the problem. Just opening a working file, importing the furniture, saving and exiting isn't enough to reproduce. I must have done something else, but don't know what :(
Still I shall note that even while it works, the NullPointerException is always printed on saving the project.
I would not know how to reproduce this anymore.
Feel free to close this report.
Sorry for the late anser.
Could you send me your file? Did it happen on some other files?
Anyway, I think I fixed this issue in April and the bug fix was released with version 5.3 yesterday.