IBM Support

PK61355: java.net.SocketTimeoutException: when opening visual class

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Rational Application Developer V7.0.0.5, getting error occ
    asionally when opening visual class that error occurs.
    
    !ENTRY org.eclipse.jem.proxy 2 0 2008-01-30 09:56:57.768
    !MESSAGE
    !STACK 0
    java.net.SocketTimeoutException: Read timed out
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.DataInputStream.readByte(Unknown Source)
            at
    org.eclipse.jem.internal.proxy.common.remote.Commands.readBackVa
    lue(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.common.remote.Commands.sendInvoke
    MethodCommand(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMConnection.invokeMethod
    (Unknown
    Source)
            at org.eclipse.jem.internal.proxy.remote.REMMethodProxy.
    invoke(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeWithP
    arms(Unknown
    Source)
            at org.eclipse.jem.internal.proxy.remote.REMMethodProxy.
    invoke(Unknown
    Source)
            at org.eclipse.jem.internal.proxy.remote.REMMethodProxy.
    invoke(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFactor
    y.createBeanProxy(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypeProxy.n
    ewInstance(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.JFCVisualContributor.contribute
    ToRegistry(Unknown
    Source)
            at org.eclipse.jem.internal.proxy.core.ProxyLaunchSuppor
    t$3.run(Unknown
    Source)
            at org.eclipse.core.runtime.SafeRunner.run(Unknown Sourc
    e)
            at
    org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.startImpl
    ementation(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.startImpl
    ementation(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.startImpl
    ementation(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditor
    VMController$CreateRegistry.run(Unknown
    Source)
            at org.eclipse.core.internal.jobs.Worker.run(Unknown Sou
    rce)
    
    !ENTRY org.eclipse.jem.proxy 2 0 2008-01-30 09:57:59.360
    !MESSAGE
    !STACK 0
    java.net.SocketTimeoutException: Read timed out
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.DataInputStream.readByte(Unknown Source)
            at
    org.eclipse.jem.internal.proxy.common.remote.Commands.sendGetCla
    ssCommand(Unknown
    Source)
            at org.eclipse.jem.internal.proxy.remote.REMConnection.g
    etClass(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFa
    ctory.getClassReturn(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFa
    ctory.createBeanTypeProxy(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFa
    ctory.getBeanTypeProxy(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMStandardBeanTypeProxyFa
    ctory.getBeanTypeProxy(Unknown
    Source)
            at
    org.eclipse.jem.internal.proxy.remote.REMMethodProxyFactory.getM
    ethodProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.BeanAwtUtilities.getOffScreenLo
    cation(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.FreeFormComponentsHost$FreeForm
    ComponentProxy.create(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.FreeFormComponentsHost$FreeForm
    ComponentProxy.?init?(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.FreeFormComponentsHost.getDialo
    gProxy(Unknown
    Source)
            at org.eclipse.ve.internal.jfc.core.FreeFormComponentsHo
    st.add(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.ComponentProxyAdapter.postInsta
    ntiateStuff(Unknown
    Source)
            at
    org.eclipse.ve.internal.jfc.core.ComponentProxyAdapter.primInsta
    ntiateDroppedPart(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInstantia
    teBeanProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantiateAn
    dInitialize(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantiateBe
    anProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.MemberContainerProxyAdapter.in
    itSetting(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.CompositionProxyAdapter.subIni
    tBeanProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.MemberContainerProxyAdapter.in
    itBeanProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditor
    Part$Setup.run(Unknown
    Source)
            at org.eclipse.core.internal.jobs.Worker.run(Unknown Sou
    rce)
    
    !ENTRY org.eclipse.ve.java.core 4 0 2008-01-30 09:57:59.485
    !MESSAGE Exception thrown.
    !STACK 0
    java.lang.IllegalStateException: IWAV0168E Improper nesting of m
    ark statements
    in Expression. Tried to pop or endMark to before current mark. T
    ried to go past
    Mark# 0.
            at
    org.eclipse.jem.internal.proxy.core.Expression.throwInvalidMarkN
    esting(Unknown
    Source)
            at org.eclipse.jem.internal.proxy.core.Expression.endMar
    k(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantiateBe
    anProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.MemberContainerProxyAdapter.in
    itSetting(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.CompositionProxyAdapter.subIni
    tBeanProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.core.MemberContainerProxyAdapter.in
    itBeanProxy(Unknown
    Source)
            at
    org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditor
    Part$Setup.run(Unknown
    Source)
            at org.eclipse.core.internal.jobs.Worker.run(Unknown Sou
    rce)
    

Local fix

Problem summary

  • See Error Description
    

Problem conclusion

  • The -Xj9 flag for JRE 1.4.2 should be specified for the JRE
    that is being used for the project of the Visual Class in
    the Preferences.
    
    This can be done by:
    Window ? Preferences Java ? Installed JREs? Select your IBM
    JDK 1.4.2 from the list used by the project ? Press Edit
    button. Enter in the field Default VM Arguments the
    following argument: -Xj9
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK61355

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-20

  • Closed date

    2009-02-04

  • Last modified date

    2009-02-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R700 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 February 2009