openmolecules.org

 
Home » DataWarrior » Bug Reports » Cannot open files due to java error
Re: Cannot open files due to java error [message #2341 is a reply to message #2338] Thu, 31 October 2024 13:25 Go to previous messageGo to previous message
Leon Rebhan is currently offline  Leon Rebhan
Messages: 5
Registered: October 2024
Junior Member
Right away I get this message, but the program opens: Added missing 'C:\Program Files\DataWarrior\jre\bin;' to JRE property 'java.library.path'.


Then, when I try to open a file again, I get this message in cmd:
java.lang.NullPointerException: Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "<local6>" is null
at java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolution IconImage.getResolutionVariant(Unknown Source)
at java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolution IconImage.getBaseImage(Unknown Source)
at java.desktop/java.awt.image.AbstractMultiResolutionImage.get Property(Unknown Source)
at java.desktop/javax.swing.ImageIcon.<init>(Unknown Source)
at java.desktop/javax.swing.ImageIcon.<init>(Unknown Source)
at java.desktop/javax.swing.filechooser.FileSystemView.getSyste mIcon(Unknown Source)
at org.pushingpixels.radiance.theming.internal.ui.RadianceFileC hooserUI$RadianceFileView.getDefaultIcon(RadianceFileChooser UI.java:127)
at org.pushingpixels.radiance.theming.internal.ui.RadianceFileC hooserUI$RadianceFileView.getIcon(RadianceFileChooserUI.java :92)
at java.desktop/javax.swing.JFileChooser.getIcon(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$Direc toryComboBoxRenderer.getListCellRendererComponent(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayout State(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateL ayoutState(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valu eChanged(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValue Changed(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValue Changed(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValue Changed(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.changeSel ection(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.changeSel ection(Unknown Source)
at java.desktop/javax.swing.DefaultListSelectionModel.setSelect ionInterval(Unknown Source)
at java.desktop/javax.swing.JList.setSelectedIndex(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicComboPopup.setListS election(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler. itemStateChanged(Unknown Source)
at java.desktop/javax.swing.JComboBox.fireItemStateChanged(Unkn own Source)
at java.desktop/javax.swing.JComboBox.selectedItemChanged(Unkno wn Source)
at java.desktop/javax.swing.JComboBox.contentsChanged(Unknown Source)
at java.desktop/javax.swing.AbstractListModel.fireContentsChang ed(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$Direc toryComboBoxModel.setSelectedItem(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$Direc toryComboBoxModel.addItem(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI.doDir ectoryChanged(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$5.pro pertyChange(Unknown Source)
at java.desktop/java.beans.PropertyChangeSupport.fire(Unknown Source)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyCh ange(Unknown Source)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyCh ange(Unknown Source)
at java.desktop/java.awt.Component.firePropertyChange(Unknown Source)
at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(Un known Source)
at java.desktop/javax.swing.JFileChooser.<init>(Unknown Source)
at java.desktop/javax.swing.JFileChooser.<init>(Unknown Source)
at com.actelion.research.gui.FileHelper.selectFileToOpen(FileHe lper.java:100)
at com.actelion.research.datawarrior.task.file.DETaskAbstractOp enFile.askForFileInEDT(DETaskAbstractOpenFile.java:266)
at com.actelion.research.datawarrior.task.file.DETaskAbstractOp enFile.askForFile(DETaskAbstractOpenFile.java:276)
at com.actelion.research.datawarrior.task.file.DETaskAbstractOp enFile.getPredefinedConfiguration(DETaskAbstractOpenFile.jav a:99)
at com.actelion.research.datawarrior.task.AbstractTask.showDial og(AbstractTask.java:262)
at com.actelion.research.datawarrior.task.AbstractTask.defineAn dRun(AbstractTask.java:635)
at com.actelion.research.datawarrior.StandardMenuBar.actionPerf ormed(StandardMenuBar.java:1642)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed( Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerfor med(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerfor med(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unkno wn Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick( Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler. mouseReleased(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unkn own Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknow n Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEve nt(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEven t(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Un known Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknow n Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknow n Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFil ters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilte r(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHiera rchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException: Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "<local6>" is null
at java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolution IconImage.getResolutionVariant(Unknown Source)
at java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolution IconImage.getBaseImage(Unknown Source)
at java.desktop/java.awt.image.AbstractMultiResolutionImage.get Property(Unknown Source)
at java.desktop/javax.swing.ImageIcon.<init>(Unknown Source)
at java.desktop/javax.swing.ImageIcon.<init>(Unknown Source)
at java.desktop/javax.swing.filechooser.FileSystemView.getSyste mIcon(Unknown Source)
at org.pushingpixels.radiance.theming.internal.ui.RadianceFileC hooserUI$RadianceFileView.getDefaultIcon(RadianceFileChooser UI.java:127)
at org.pushingpixels.radiance.theming.internal.ui.RadianceFileC hooserUI$RadianceFileView.getIcon(RadianceFileChooserUI.java :92)
at java.desktop/javax.swing.JFileChooser.getIcon(Unknown Source)
at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$Direc toryComboBoxRenderer.getListCellRendererComponent(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayout State(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateL ayoutState(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicListUI.getPreferred Size(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JList.getPreferredScrollableViewpor tSize(Unknown Source)
at java.desktop/javax.swing.ViewportLayout.preferredLayoutSize( Unknown Source)
at java.desktop/java.awt.Container.preferredSize(Unknown Source)
at java.desktop/java.awt.Container.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.ScrollPaneLayout.preferredLayoutSiz e(Unknown Source)
at java.desktop/java.awt.Container.preferredSize(Unknown Source)
at java.desktop/java.awt.Container.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.BoxLayout.checkRequests(Unknown Source)
at java.desktop/javax.swing.BoxLayout.layoutContainer(Unknown Source)
at java.desktop/java.awt.Container.layout(Unknown Source)
at java.desktop/java.awt.Container.doLayout(Unknown Source)
at org.pushingpixels.radiance.theming.internal.ui.RadianceCombo BoxUI.lambda$createPopup$2(RadianceComboBoxUI.java:381)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknow n Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFil ters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilte r(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHiera rchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Data warrior crash after Mac OS update
Next Topic: .SDF exporting conventions
Goto Forum:
  


Current Time: Thu Nov 21 23:22:51 CET 2024

Total time taken to generate the page: 0.03432 seconds