IBM Support

PK59347: ArrayIndexOutOfBoundsException when creating a managed bean for a business process

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 ArrayIndex
    OutOfBoundsException when creating a managed bean for a business
     process.
    
    Step to reproduce:
    - Import customers project interchange file
    - Open jsp file in Page Editor
    - Select in Page Data view the entry services and press with the
     right mouse button on it. Select New ? Business Process Message
    - Dialog Business Process Message appears. Select Handle a task
    in the business process
    - Select Browse..., select WebContent/WEB-INF/lib/yourJar.jar/Yo
    urApplicationIF.wsdl and press OK. Click on Next
    - Select the checkbox next to yourRequest. Click Finish.
    Result:
    org.eclipse.core.runtime.CoreException[0]: java.lang.ArrayIndexO
    utOfBoundsException: Array index out of range: 1
       at com.ibm.etools.portlet.pagedataview.bp.wizard.BPMessageDat
    aModelOperation.getOrderedMessageParts(Unknown Source)
       at com.ibm.etools.portlet.pagedataview.bp.wizard.BPMessageDat
    aModelOperation.execute(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl$1.run(Unknown Source)
       at org.eclipse.core.internal.resources.Workspace.run(Unknown
    Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.runOperation(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.runOperation(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.doExecute(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.executeImpl(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.cacheThreadAndContinue(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.DataM
    odelPausibleOperationImpl.execute(Unknown Source)
       at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Da
    taModelWizard$1$CatchThrowableRunnableWithProgress.run(Unknown S
    ource)
       at org.eclipse.jface.operation.ModalContext$ModalContextThrea
    d.run(Unknown Source)
    

Local fix

Problem summary

  • ArrayIndexOutOfBoundsException when creating a managed bean
    for a business process.
    

Problem conclusion

  • The exception was thrown due to incorrect assignment of a
    variable to number of messages instead of the number of
    parts under the message.
    
    Fix delivered in Rational Application Developer V7.0.0.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK59347

  • Reported component name

    RATL APP DEV LI

  • Reported component ID

    5724J1902

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-15

  • Closed date

    2008-03-28

  • Last modified date

    2008-03-28

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

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

    JR28468

Fix information

  • Fixed component name

    RATL APP DEV LI

  • Fixed component ID

    5724J1902

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:
28 March 2008