exception when installing license

User 56106a29d7

20-06-2008 19:58:26

Hi,





I received an academic license file and managed to install it for the Instant JChem package on one computer, but it doesn't seem to be letting me do it again for a different computer. I keep getting a Java exception:
Quote:



java.lang.NullPointerException


at chemaxon.license.LicenseHandler.getValidationState(LicenseHandler.java:817)


at chemaxon.license.LicenseManagerGUI$ProductLicenseDescriptionFactory.getRowVector(LicenseManagerGUI.java:1031)


at chemaxon.license.LicenseManagerGUI$ProductLicenseDescriptionFactory.updateLicenseOverviewTable(LicenseManagerGUI.java:1067)


at chemaxon.license.LicenseManagerGUI$ProductLicenseDescriptionFactory.createInstallOverviewTable(LicenseManagerGUI.java:992)


at chemaxon.license.LicenseManagerGUI$ProductLicenseDescriptionFactory.createInstallOverviewPanel(LicenseManagerGUI.java:967)


at chemaxon.license.LicenseManagerGUI$5.actionPerformed(LicenseManagerGUI.java:696)


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.plaf.basic.BasicButtonListener.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)


[catch] 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)


java.io.FileNotFoundException: C:\Documents and Settings\grdevipr\chemaxon\license.cxl (Access is denied)


at java.io.FileOutputStream.open(Native Method)


at java.io.FileOutputStream.<init>(Unknown Source)


at java.io.FileOutputStream.<init>(Unknown Source)


at chemaxon.util.DotfileUtil.create(DotfileUtil.java:59)


at chemaxon.license.LicenseManagerTool.install(LicenseManagerTool.java:189)


at chemaxon.license.LicenseManagerTool.main(LicenseManagerTool.java:96)


at chemaxon.license.LicenseManagerGUI$5.actionPerformed(LicenseManagerGUI.java:691)


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.plaf.basic.BasicButtonListener.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)
It seems like a similar problem as this thread,


http://www.chemaxon.com/forum/ftopic3764.html





But, I'm already using the workaround trick of starting the LicenseManager through Instant JChem's Help|Licenses. With other applications, it just hangs. Is there a way to install the license manually?

ChemAxon 909aee4527

23-06-2008 07:18:55

Hi Chris,





we are sorry for the problem, we will fix it by the 5.1 version.





The license installation is simple manually as well, just copy the license file to the location: C:\Documents and Settings\grdevipr\chemaxon\license.cxl





Somehow access is denied for the license installer to do the same.


Please tell us if this solves the issue or not.





Kind regards,


Judit

User 56106a29d7

25-06-2008 16:18:51

Hi,





Thanks! That was kind of a weird problem. The chemaxon directory only had permissions set for SYSTEM and nothing else. After fixing those the LicenseManager works fine.





Best,


Chris