JToy » 28 апр 2010, 13:59
Заполнили форму 100, отправили на сервер, получили уведомление, но при просмотре локальной формы имеем:
java.lang.NullPointerException
at com.epam.sono.desktop.ui.np.fno.MyFnoTable.updateNotifTable(MyFnoTable.java:724)
at com.epam.sono.desktop.ui.np.fno.MyFnoTable.access$1800(MyFnoTable.java:82)
at com.epam.sono.desktop.ui.np.fno.MyFnoTable$13.valueChanged(MyFnoTable.java:415)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:408)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:417)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:441)
at javax.swing.JTable.changeSelectionModel(JTable.java:1633)
at javax.swing.JTable.changeSelection(JTable.java:1679)
at javax.swing.plaf.basic.BasicTableUI$Handler.makeSelectionChange(BasicTableUI.java:1010)
at javax.swing.plaf.basic.BasicTableUI$Handler.adjustFocusAndSelection(BasicTableUI.java:966)
at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:920)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.epam.sono.desktop2.shell.health.EventQueueProxy.dispatchEvent(EventQueueProxy.java:30)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
при попытки просмотра уведа -
The bean encountered a non-application exception; nested exception is:
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.epam.sono.business.entity.notification.Notification#10923112020]
Кнопка отослать отчет неактивна.
Снес, стер, перезагрузился, поставил....АНАЛОГИЧНО!