Print at Dec 15, 2025, 5:06:28 PM

Posted by dann at Nov 3, 2016, 9:43:11 PM
Re: Sweet Home 3D 5.3
Hi,

I'm a returning user and I thought I'd try the latest, so I downloaded the 5.3 beta8 jar to run on osx 10.10.5, java 1.8.0_45.

Everything seemed to be fine, I started editing a new plan, saved it and quit, but when I went to open it again nothing seemed to happen. I ended up running the jar from the command line with
> java -Xmx640m -jar SweetHome3D-5.3.beta8.jar
So that I could see if there was any console output to indicate a problem. And sure enough when I tried opening my file I got the following stack trace:


java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.lang.Float.parseFloat(Float.java:451)
at com.eteks.sweethome3d.io.HomeXMLHandler.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumen
tParser.java:183)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentF
ragmentScannerImpl.java:1343)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragm
entScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at com.eteks.sweethome3d.io.DefaultHomeInputStream.readHome(Unknown Source)
at com.eteks.sweethome3d.io.HomeFileRecorder.readHome(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$32.call(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$32.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


Reading this forum thread makes me suspect this may be due to the new file format, so I thought you'd appreciate the report. I can send you my file if that helps.

Dan