Skip to Content
author's profile photo Former Member
Former Member

Java Connectivity Builder problem

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 05:43 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2005 at 06:02 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 05:37 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.