User 677b9c22ff
29-04-2010 18:59:48
Hi,
I am working with the platform independent version Marvin 5.3 (ZIP) under WIN.
I am not sure if running install.bat was succesful.
After using msketch or mview is finished it always says:
Marvin cannot save properties file - but it does save it. There is also no error on the filesystem
level checked with Sysinternals FileMON.
C:\Documents and Settings\XXX>msketch test.mrv
Marvin cannot save properties file
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at chemaxon.marvin.common.UserSettings.getAllProperties(Unknown Source)
at chemaxon.marvin.common.UserSettings.checkBeforeSave(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.exit(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.exit(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.exit(Unknown Source)
at chemaxon.marvin.beans.MarvinPane.exit(Unknown Source)
at chemaxon.marvin.Sketch.close(Unknown Source)
at chemaxon.marvin.Sketch.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
C:\Documents and Settings\XXX>
But infact if I look at
C:\Documents and Settings\XXX\chemaxon\marvin.properties>
It has the correct time stamp and is edited as I can see from change of the content:.
Not sure whats going on.
Tobias
ChemAxon 7c2d26e5cf
04-05-2010 22:05:03
We are checking the code.
Can you send your marvin.properties file? It can help for debugging.
User 677b9c22ff
04-05-2010 22:35:40
Hi
the file is never changed, for example changing the look to Metal or NIMBUS,
the file is touched and found but not changed.
#Marvin parameters
#Mon May 03 13:03:12 PDT 2011
readGUIProperties=false
viewLoadWorkingDir=
viewRendering3d=wireframe
viewExplicitH=off
copyAsFormat=ISIS (Symyx) file (SKC)
viewSaveWorkingDir=
viewNavmode2d=rot3d
copyOpts=Chemical Structure,Bitmap Image,Marvin Object (OLE),Vector Graphics (Enhanced Meta File)
sketchLoadWorkingDir=
reactionErrorVisible=true
atomFont=Arial
valenceErrorVisibleInView=true
sketchSaveWorkingDir=
viewMolbg3d=\#ffffff
tmpls128=*My Templates*chemaxon/marvin/templates/custom.t
mp=
sketchImplicitH=heteroterm
sketchMolbg3d=\#ffffff
viewRendering2d=wireframe
aromatizeMethod=2
skin=javax.swing.plaf.metal.MetalLookAndFeel
sketchMolbg=\#ffffff
lonePairAutoCalc=true
implicitH=heteroterm
wireThickness=0.1
saveGUIProperties=false
atomsize=0.4000000000000001
viewMolbg2d=\#ffffff
viewLayout=0
emp=
explicitH=false
viewCarbonVisibility=inChain
ballRadius=0.15
viewRecentFileListSize=4
viewRecentFileList=[]
downWedge=mdl
viewNavmode3d=rot3d
viewAnyBond=auto
p=
sketchRecentFileListSize=4
sketchRecentFileList=[]
viewImplicitH=heteroterm
stickThickness=0.15
absLabelVisible=off
loadSaveLocation=saveLastLocation
Similar if I change to NIMBUS and close
Z:\>mview
Marvin cannot save properties file
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at chemaxon.marvin.common.UserSettings.getAllProperties(Unknown Source)
at chemaxon.marvin.common.UserSettings.checkBeforeSave(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.exit(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.exit(Unknown Source)
at chemaxon.marvin.view.swing.ViewPanel.exit(Unknown Source)
at chemaxon.marvin.beans.MarvinPane.exit(Unknown Source)
at chemaxon.marvin.View.windowClosing(Unknown Source)
at chemaxon.marvin.View.closeAll(Unknown Source)
at chemaxon.marvin.View.access$100(Unknown Source)
at chemaxon.marvin.View$3.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Z:\>mview
Output from FileMon (Sysinternals)
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 3835136 Length: 3654
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 43776088 Length: 160
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 25260039 Length: 30
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 25260121 Length: 1735
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 42899155 Length: 160
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 3448893 Length: 30
3:24:24 PM java.exe:10388 READ C:\Program Files\Java\jre6\lib\rt.jar SUCCESS Offset: 3448983 Length: 3489
3:24:24 PM java.exe:10388 READ C:\WINDOWS\Fonts\arial.ttf SUCCESS Offset: 333760 Length: 6925
3:24:24 PM java.exe:10388 READ C:\WINDOWS\Fonts\arial.ttf SUCCESS Offset: 333760 Length: 6925
3:24:24 PM java.exe:10388 OPEN C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS Options: Open Access: All
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS FileNameInformation
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS Attributes: A
3:24:24 PM java.exe:10388 CLOSE C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS
3:24:24 PM java.exe:10388 OPEN C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS Options: Open Access: All
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS FileNameInformation
3:24:24 PM java.exe:10388 READ C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties SUCCESS Offset: 0 Length: 8192
3:24:24 PM java.exe:10388 READ C:\Documents and Settings\XXXXXXXXX\chemaxon\marvin.properties END OF FILE Offset: 1185 Length: 8192
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon SUCCESS Attributes: D
3:24:24 PM java.exe:10388 OPEN C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS Options: Open Access: All
3:24:24 PM java.exe:10388 CLOSE C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS
3:24:24 PM java.exe:10388 CREATE C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS Options: OverwriteIf Access: All
3:24:24 PM java.exe:10388 OPEN C:\Documents and Settings\XXXXXXXXX\chemaxon\ SUCCESS Options: Open Directory Access: 00000000
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS FileNameInformation
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS FileNameInformation
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\javax.xml.parsers.DocumentBuilderFactory PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\javax.xml.parsers.DocumentBuilderFactory PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\javax.xml.transform.TransformerFactory PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\javax.xml.transform.TransformerFactory PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION C:\Program Files\Java\jre6\lib\xalan.properties NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 QUERY INFORMATION Z:\META-INF\services\com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager PATH NOT FOUND Attributes: Error
3:24:24 PM java.exe:10388 WRITE C:\Documents and Settings\XXXXXXXXX\chemaxon\checkers.xml SUCCESS Offset: 0 Length: 350
Tobias
ChemAxon 7c2d26e5cf
10-05-2010 23:51:19
Thanks for the detailed description. We are checking it.
ChemAxon 5433b8e56b
13-05-2010 23:52:19
Hi Tobias,
The bug is fixed in the upcoming 5.3.3 version. It will be released in a couple of days.
Regards,
Istvan