Skip to Content
0
May 24, 2010 at 06:04 AM

"java.lang.NullPointerException"

240 Views

Hi All,

I am working on PI7.1ServicePack-06 and while saving some object(say jdbc communication channel) after creation getting small pop up saying that java.lang.NullPointerException. When i save the log file by clicking on SaveLog button, getting some pages of error log. Below is some portion of that log,

====================================================================

= Root Exception ===================================================

====================================================================

Thrown:

com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:124)

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:96)

at com.sap.aii.utilxi.swing.toolkit.IBMessages$1.run(IBMessages.java:319)

at com.sap.aii.utilxi.misc.thread.ThreadPool.assureAWTEventQueueing(ThreadPool.java:84)

at com.sap.aii.utilxi.misc.thread.ThreadPool.assureAWTEventQueueing(ThreadPool.java:67)

at com.sap.aii.utilxi.swing.toolkit.IBMessages.showException(IBMessages.java:309)

at com.sap.aii.utilxi.swing.toolkit.IBMessages.showException(IBMessages.java:299)

at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1439)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:172)

at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:82)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.NullPointerException: null

at com.sap.aii.ib.gui.editor.CrossReferenceEnabler.isEnabled(CrossReferenceEnabler.java:13)

at com.sap.aii.utilxi.swing.framework.Command.isEnabled(Command.java:342)

at com.sap.aii.utilxi.swing.framework.CommandGroup.updateEnabling(CommandGroup.java:31)

at com.sap.aii.utilxi.swing.framework.WindowManager.updateEnabling(WindowManager.java:843)

at com.sap.aii.utilxi.swing.framework.Document.internalSetModified(Document.java:279)

at com.sap.aii.utilxi.swing.framework.cmd.SaveCommand.execute(SaveCommand.java:77)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:198)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:154)

... 28 more

====================================================================

== Content from the LogHandler =====================================

====================================================================

#544 11:24:27 [AWT-EventQueue-2] WARNING com.sap.aii.utilxi.swing.toolkit.ButtonPanel: Special button of type 4 was not added in order (class com.sap.aii.utilxi.swing.toolkit.ButtonPanel)

#543 11:24:27 [AWT-EventQueue-2] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable

Thrown:

java.lang.NullPointerException: null

at com.sap.aii.ib.gui.editor.CrossReferenceEnabler.isEnabled(CrossReferenceEnabler.java:13)

at com.sap.aii.utilxi.swing.framework.Command.isEnabled(Command.java:342)

at com.sap.aii.utilxi.swing.framework.CommandGroup.updateEnabling(CommandGroup.java:31)

at com.sap.aii.utilxi.swing.framework.WindowManager.updateEnabling(WindowManager.java:843)

at com.sap.aii.utilxi.swing.framework.Document.internalSetModified(Document.java:279)

at com.sap.aii.utilxi.swing.framework.cmd.SaveCommand.execute(SaveCommand.java:77)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:198)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:154)

at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:82)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

#542 11:24:27 [AWT-EventQueue-2] WARNING com.sap.aii.ib.clsif.login.BeanProxy: Long RMI call in event dispatching thread: ObjectAccessBI.update (859 ms)

#541 11:24:26 [AWT-EventQueue-2] ERROR com.sap.aii.utilxi.swing.toolkit.Guitilities: Error in AWT-Event-Thread

Thrown:

java.lang.NullPointerException: null

at com.sap.aii.ib.gui.editor.CrossReferenceEnabler.isEnabled(CrossReferenceEnabler.java:13)

at com.sap.aii.utilxi.swing.framework.Command.isEnabled(Command.java:342)

at com.sap.aii.utilxi.swing.framework.CommandGroup.updateEnabling(CommandGroup.java:31)

at com.sap.aii.utilxi.swing.framework.WindowManager.updateEnabling(WindowManager.java:843)

at com.sap.aii.utilxi.swing.framework.Document.internalSetModified(Document.java:279)

at com.sap.aii.utilxi.swing.framework.Document.setModified(Document.java:289)

at com.sap.aii.ibdir.gui.cpa.ChannelDocument.setModified(ChannelDocument.java:280)

at com.sap.aii.ib.gui.editor.HeaderPanel$1.textInput(HeaderPanel.java:200)

at com.sap.aii.utilxi.swing.toolkit.TextFieldAdapter.keyReleased(TextFieldAdapter.java:120)

at java.awt.Component.processKeyEvent(Unknown Source)

at javax.swing.JComponent.processKeyEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.focus.AccessibleKeyboardFocusManager.dispatchKeyEvent(AccessibleKeyboardFocusManager.java:104)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

#540 11:24:24 [AWT-EventQueue-2] ERROR com.sap.aii.utilxi.swing.toolkit.Guitilities: Error in AWT-Event-Thread

Thrown:

java.lang.NullPointerException: null

at com.sap.aii.ib.gui.editor.CrossReferenceEnabler.isEnabled(CrossReferenceEnabler.java:13)

at com.sap.aii.utilxi.swing.framework.Command.isEnabled(Command.java:342)

at com.sap.aii.utilxi.swing.framework.CommandGroup.updateEnabling(CommandGroup.java:31)

at com.sap.aii.utilxi.swing.framework.WindowManager.updateEnabling(WindowManager.java:843)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:177)

at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:82)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Note:- After starting the jdbc communication channel getting always below error.

Exception caught during JDBC adapter processing: java.lang.NullPointerException:

thanks,

madhu