Neuroph Studion Null指针异常

时间:2015-11-19 07:33:49

标签: java nullpointerexception neural-network

我为这个问题寻找了很多答案,但所有这些都是我的文件错误。我的日志显示以下stacktrace

java.lang.NullPointerException
    at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(XPStyle.java:155)
    at com.sun.java.swing.plaf.windows.XPStyle.getBorder(XPStyle.java:275)
    at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(WindowsLookAndFeel.java:2403)
    at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(WindowsLookAndFeel.java:2357)
    at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:233)
    at javax.swing.UIDefaults.get(UIDefaults.java:163)
    at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:64)
    at javax.swing.UIDefaults.getBorder(UIDefaults.java:481)
    at javax.swing.UIManager.getBorder(UIManager.java:759)
    at javax.swing.border.TitledBorder.getBorder(TitledBorder.java:416)
    at javax.swing.border.TitledBorder.getBorderInsets(TitledBorder.java:349)
    at javax.swing.border.AbstractBorder.getBorderInsets(AbstractBorder.java:75)
    at javax.swing.JComponent.getInsets(JComponent.java:1826)
    at javax.swing.GroupLayout.adjustSize(GroupLayout.java:1109)
    at javax.swing.GroupLayout.preferredLayoutSize(GroupLayout.java:879)
    at java.awt.Container.preferredSize(Container.java:1794)
    at java.awt.Container.getPreferredSize(Container.java:1778)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1115)
    at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:916)
    at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:2071)
    at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:2031)
    at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:812)
    at java.awt.Container.layout(Container.java:1508)
    at java.awt.Container.doLayout(Container.java:1497)
    at java.awt.Container.validateTree(Container.java:1693)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validate(Container.java:1628)
    at java.awt.Window.dispatchEventImpl(Window.java:2748)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at     java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

我创建了两个输入,一个输出神经网络和数据集,将数据集放在神经网络接口顶部的拖放部分,然后单击列车。弹出一个显示null的通知,当我点击null时,我得到上面的错误。

我该如何解决这个问题?

0 个答案:

没有答案