This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
In My Swing program , i am using internal frame.the internal frame name is IFMservice, this internal frame i am calling from main frame, during exceution time i am geting the following exception, can help me to rectify my exception
java.lang.NoSuchFieldError: errorIcon at utils.JDlgError.initComponents(JDlgError.java:216) at utils.JDlgError.<init>(JDlgError.java:29) at FRP.masters.client.service.IFMService.createConnection(IFMService.java:69) at FRP.masters.client.service.IFMService.<init>(IFMService.java:52) at JFrmMain.jMenuItem1ActionPerformed(JFrmMain.java:57) at JFrmMain.access$100(JFrmMain.java:2) at JFrmMain$2.actionPerformed(JFrmMain.java:39) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Tad Dicks
Ranch Hand
Joined: Nov 16, 2004
Posts: 264
posted
0
Um... First thing I would do is look at
at utils.JDlgError.initComponents(JDlgError.java:216)
by going to line 216 inside the code for JDlgError inside the initComponents method.
Beyond telling you to do that, I don't think anyone is going to be able to help you unless you show some source.
-Tad
Ken Blair
Ranch Hand
Joined: Jul 15, 2003
Posts: 1078
posted
0
Sounds like you're calling a variable that doesn't exist. Perhaps a typo?