Menu

#236 CellEditors constructor problem

v1.0_(example)
open
nobody
None
5
2014-06-12
2013-07-08
Lukas Voves
No

Hello Mauro, after upgrade libraries in my project to version 2.4.7 I get this error when I was trying run application and construct form. It reports an error and don't render any column. Do I need to build project from start? I found that constructors of CellEditors gets one more attribute in constructor.


Mon Jul 08 10:44:35 CEST 2013 [ERROR]
in org.openswing.swing.table.client.Grid.Grid():
Error while constructing grid.
java.lang.NoSuchMethodError: org.openswing.swing.table.editors.client.NumericCellEditor.<init>(IIZDDLorg/openswing/swing/table/columns/client/IntegerColumnSettings;ZI)V
at org.openswing.swing.table.columns.client.IntegerColumn.getCellEditor(IntegerColumn.java:288)
at org.openswing.swing.table.model.client.VOListAdapter.getCellEditor(VOListAdapter.java:437)
at org.openswing.swing.table.client.Grid.prepareJTable(Grid.java:731)
at org.openswing.swing.table.client.Grid.<init>(Grid.java:316)
at org.openswing.swing.table.client.Grids.<init>(Grids.java:300)
at org.openswing.swing.client.GridControl.commitColumnContainer(GridControl.java:410)
at org.openswing.swing.client.GridControl.addNotify(GridControl.java:377)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at javax.swing.JRootPane.addNotify(JRootPane.java:756)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addImpl(Container.java:1114)
at javax.swing.JLayeredPane.addImpl(JLayeredPane.java:230)
at javax.swing.JDesktopPane.addImpl(JDesktopPane.java:474)
at org.openswing.swing.mdi.client.DesktopPane.addImpl(DesktopPane.java:495)
at java.awt.Container.add(Container.java:410)
at org.openswing.swing.mdi.client.DesktopPane.add(DesktopPane.java:350)
at org.openswing.swing.mdi.client.MDIFrame.add(MDIFrame.java:736)
at org.openswing.swing.mdi.client.MDIFrame.add(MDIFrame.java:706)
at cz.veba.evidencetkalcoven.pretrhyavzduch.PretrhyAVzduchMasterController.<init>(PretrhyAVzduchMasterController.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at cz.veba.evidencetkalcoven.main.Facade$1.run(Facade.java:71)


java.lang.NullPointerException
at org.openswing.swing.table.client.Grid.addNotify(Grid.java:2659)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at org.openswing.swing.table.client.Grids.addNotify(Grids.java:3166)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addImpl(Container.java:1114)
at java.awt.Container.add(Container.java:966)
at org.openswing.swing.client.GridControl.commitColumnContainer(GridControl.java:1133)
at org.openswing.swing.client.GridControl.addNotify(GridControl.java:377)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at javax.swing.JRootPane.addNotify(JRootPane.java:756)
at java.awt.Container.addNotify(Container.java:2769)
at javax.swing.JComponent.addNotify(JComponent.java:4743)
at java.awt.Container.addImpl(Container.java:1114)
at javax.swing.JLayeredPane.addImpl(JLayeredPane.java:230)
at javax.swing.JDesktopPane.addImpl(JDesktopPane.java:474)
at org.openswing.swing.mdi.client.DesktopPane.addImpl(DesktopPane.java:495)
at java.awt.Container.add(Container.java:410)
at org.openswing.swing.mdi.client.DesktopPane.add(DesktopPane.java:350)
at org.openswing.swing.mdi.client.MDIFrame.add(MDIFrame.java:736)
at org.openswing.swing.mdi.client.MDIFrame.add(MDIFrame.java:706)
at cz.veba.evidencetkalcoven.pretrhyavzduch.PretrhyAVzduchMasterController.<init>(PretrhyAVzduchMasterController.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at cz.veba.evidencetkalcoven.main.Facade$1.run(Facade.java:71)

Discussion

  • Sergio Lima

    Sergio Lima - 2014-06-01

    Hi, Lukas Voves, solve this problem?
    the same happens to me ...

     
  • Lukas Voves

    Lukas Voves - 2014-06-12

    Hi, I haven't solved this problem yet.

     

Log in to post a comment.