java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123955

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:204) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1.updateImage(TCRVisualPanel1.java:223) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1.fontComboItemStateChanged(TCRVisualPanel1.java:199) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1.access$000(TCRVisualPanel1.java:15) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1$1.itemStateChanged(TCRVisualPanel1.java:97) at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1205) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1262) at javax.swing.JComboBox.contentsChanged(JComboBox.java:1309) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100) at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88) at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1.fillCombos(TCRVisualPanel1.java:56) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRVisualPanel1.<init>(TCRVisualPanel1.java:25) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRWizardPanel1.getComponent(TCRWizardPanel1.java:22) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRWizardIterator.createSteps(TCRWizardIterator.java:175) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRWizardIterator.getPanels(TCRWizardIterator.java:39) at org.neuroph.netbeans.ide.project.type.ocr.tcr.TCRWizardIterator.current(TCRWizardIterator.java:93) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.current(TemplateWizard.java:983) at org.openide.loaders.TemplateWizardIterImpl.current(TemplateWizardIterImpl.java:143) at org.openide.loaders.TemplateWizardIteratorWrapper.current(TemplateWizardIteratorWrapper.java:92) at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:887) at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:861) at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:734) at org.netbeans.modules.project.ui.NewFileWizard.updateState(NewFileWizard.java:122) at org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2028) at org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:329) at org.openide.loaders.TemplateWizardIterImpl.fireStateChanged(TemplateWizardIterImpl.java:273) at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:119) at org.openide.loaders.TemplateWizardIteratorWrapper.setIterator(TemplateWizardIteratorWrapper.java:79) at org.openide.loaders.TemplateWizard.setTemplateImpl(TemplateWizard.java:196) at org.openide.loaders.TemplateWizard.setTemplate(TemplateWizard.java:214) at org.netbeans.modules.project.ui.TemplateChooserPanel.storeSettings(TemplateChooserPanel.java:161) at org.netbeans.modules.project.ui.TemplateChooserPanel.storeSettings(TemplateChooserPanel.java:71) at org.openide.WizardDescriptor.setValueOpen(WizardDescriptor.java:1352) at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1330) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1321) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6290) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6055) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:621) at java.awt.EventQueue$2.run(EventQueue.java:619) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:618) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1044) at java.awt.Dialog$3.run(Dialog.java:1096) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1094) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126) at org.openide.util.Mutex.doEventAccess(Mutex.java:1361) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045) at java.awt.Component.show(Component.java:1584) at java.awt.Component.setVisible(Component.java:1536) at java.awt.Window.setVisible(Window.java:841) at java.awt.Dialog.setVisible(Dialog.java:984) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:498) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:365) at org.netbeans.modules.project.ui.actions.NewFile.doPerform(NewFile.java:157) at org.netbeans.modules.project.ui.actions.NewFile.actionPerformed(NewFile.java:129) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:170) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6290) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6055) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:621) at java.awt.EventQueue$2.run(EventQueue.java:619) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:618) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 8 months ago
    8 times, 10 months ago
    6 times, 1 year ago
    Unknown user
    Once, 1 year ago