cancel
Showing results for 
Search instead for 
Did you mean: 

Java Connectivity Builder problem

Former Member
0 Kudos

Disclaimer: I'm new with less than 3 months SAP experience.

I'm trying to run the Java Connectivity Builder and it keeps bombing with the same error:

#18 11:39:35 AM [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.UploadBuffer: ne

w UploadBuffer

java.lang.ClassCastException

at javax.swing.AbstractButton.configurePropertiesFromAction(Unknown Sour

ce)

at javax.swing.JButton.configurePropertiesFromAction(Unknown Source)

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

at com.sap.aii.ifr.navigation.ToolButton.setAction(ToolButton.java:89)

at com.sap.aii.ifr.navigation.ToolButton.<init>(ToolButton.java:84)

at com.sap.aii.ifr.navigation.NavigationToolBar.<init>(NavigationToolBar

.java:33)

at com.sap.aii.ifr.navigation.NavigationToolBar.<init>(NavigationToolBar

.java:37)

at com.sap.aii.ifr.upload.client.SAPNavigationPane.<init>(SAPNavigationP

ane.java:54)

at com.sap.aii.ifr.upload.client.SAPBrowser.setIsConnected(SAPBrowser.ja

va:252)

at com.sap.aii.ifr.upload.client.SAPBrowser$ConnectAction.actionPerforme

d(SAPBrowser.java:594)

at com.sap.aii.ifr.upload.client.SAPBrowser$NextAction.actionPerformed(S

APBrowser.java:536)

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

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow

n Source)

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

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

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour

ce)

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

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

at java.awt.Component.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 java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

Does anyone have any clue as to how to fix this issue?

I think I'm running R/3 and SAPJ2ee Engine 6.20 Patch 30 on my local host. My boss can get his to work and our app otherwise runs on my localhost, so I'm eliminating a SAP server issue and a J2ee engine issue. Any other ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Definitely now that i read the last of your msg - you really shouldt run java abouve 1.3.1_x in 6.20 (its not supported) - 1.4.1_6 is the most you will get in 6.40 ... so the latest is not always the best.

Answers (2)

Answers (2)

Former Member
0 Kudos

I had this problem when i updated to a newer version of java - Revert back to JDK1.3.1_10 or what ever version you were using - or you can chang it in the batch file so you dont have to reinstall JDK - StartJCB.bat should now read

@ECHO on

SET JAVA_HOME="C:\jdk1.3.1_10\"

SET PATH="C:\jdk1.3.1_10\bin\"

start "java connectivity builder" C:\jdk1.3.1_10\bin\java -Xmx256M -Dlog.handler.RootConsole.level=WARNING -Dlog.handler.FileLog=FileHandler,log.txt -Dlog.logger.com=ALL,FileLog -cp lib/ext/aii_ifr_jbtool.jar com.sap.aii.ifr.tool.jbuilder.JBuilderTool

or similiar with your java_home pointed @ the old jdk

Former Member
0 Kudos

Hi,

Is last verion of Java CB , you want to use? Are you use it with IDE or standalone? I think so the problem i not related r/3 or J2EE engine.

Best regards,

Altug Bayram