Not picking license file from CHEMAXON_LICENSE_URL env

User 8688ffe688

17-11-2014 22:52:35

Latest version J4XL 14.11.1000.1369 is not picking up CHEMAXON_LICENSE_URL environment variable.  Windows 7 64bit.  Office 2010 32bit.


License Manager


Stack trace:


Exception: System.UnauthorizedAccessException
Message: Access to the path 'J:\' is denied.
StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIODriveError(String driveName, Int32 errorCode)
   at System.IO.DriveInfo.get_VolumeLabel()
   at sun.awt.shell.Win32ShellFolderManager2$2$1.getDisplayName()
   at javax.swing.filechooser.FileSystemView.getSystemDisplayName(File f)
   at javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView.getName(File f)
   at javax.swing.JFileChooser.getName(File f)
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.DirectoryComboBoxRenderer.getListCellRendererComponent(JList , Object , Int32 , Boolean , Boolean )
   at javax.swing.plaf.basic.BasicListUI.updateLayoutState()
   at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState()
   at javax.swing.plaf.basic.BasicListUI.Handler.valueChanged(ListSelectionEvent )
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Int32 firstIndex, Int32 lastIndex, Boolean isAdjusting)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Int32 firstIndex, Int32 lastIndex)
   at javax.swing.DefaultListSelectionModel.fireValueChanged()
   at javax.swing.DefaultListSelectionModel.changeSelection(Int32 , Int32 , Int32 , Int32 , Boolean )
   at javax.swing.DefaultListSelectionModel.changeSelection(Int32 , Int32 , Int32 , Int32 )
   at javax.swing.DefaultListSelectionModel.setSelectionInterval(Int32 index0, Int32 index1)
   at javax.swing.JList.setSelectedIndex(Int32 index)
   at javax.swing.plaf.basic.BasicComboPopup.setListSelection(Int32 )
   at javax.swing.plaf.basic.BasicComboPopup.access$300(BasicComboPopup , Int32 )
   at javax.swing.plaf.basic.BasicComboPopup.Handler.itemStateChanged(ItemEvent )
   at javax.swing.JComboBox.fireItemStateChanged(ItemEvent e)
   at javax.swing.JComboBox.selectedItemChanged()
   at javax.swing.JComboBox.contentsChanged(ListDataEvent e)
   at javax.swing.AbstractListModel.fireContentsChanged(Object source, Int32 index0, Int32 index1)
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.DirectoryComboBoxModel.setSelectedItem(Object selectedDirectory)
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.DirectoryComboBoxModel.addItem(File )
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.DirectoryComboBoxModel.access$900(DirectoryComboBoxModel , File )
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.doDirectoryChanged(PropertyChangeEvent )
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.access$1200(WindowsFileChooserUI , PropertyChangeEvent )
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$12.propertyChange(PropertyChangeEvent )
   at java.beans.PropertyChangeSupport.fire(PropertyChangeListener[] , PropertyChangeEvent )
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeEvent evt)
   at java.beans.PropertyChangeSupport.firePropertyChange(String propertyName, Object oldValue, Object newValue)
   at java.awt.Component.firePropertyChange(String propertyName, Object oldValue, Object newValue)
   at javax.swing.JFileChooser.setCurrentDirectory(File dir)
   at javax.swing.JFileChooser..ctor(File currentDirectory, FileSystemView fsv)
   at javax.swing.JFileChooser..ctor()
   at chemaxon.license.LicenseManagerGUI..ctor()
   at chemaxon.license.LicenseManagerGUI.createFrame(String arg)
   at chemaxon.license.LicenseManagerGUI.createFrame()
   at ChemAxon.NET.Windows.Forms.Licensing.MarvinLicenseManagerView.†††
†††Šœ()
   at ChemAxon.NET.Windows.Forms.Licensing.MarvinLicenseManagerView..ctor()
   at ChemAxon.JChemExcel.Actions.LicenseAction.Execute(String tag)

ChemAxon bd13b5bd77

18-11-2014 23:21:08

Hi,


I do not think this is a JChem for Exceo/Office issue.


What about other drives local C or local other?


Is the drive browsable from other program, e.g. .NET or C++?


at System.IO.__Error.WinIODriveError(String driveName, Int32 errorCode)
   at System.IO.DriveInfo.get_VolumeLabel()


the exception looks very operating system based.


 


Viktor