IBM Support

PI11318: Build Forge 8 java.io.IOException: Malformed line under data transfer output

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under certain output where information regarding transferring of
    data are listed in a format of '?data sent?/?total data?' in
    succession can generated the following error.
    This can be seen in outputting the following from a text file.
    
    ie:
    2/11790 KB
    4/11790 KB
    6/11790 KB
    [...]
    1994/11790 KB
    1996/11790 KB
    1998/11790 KB
    2000/11790 KB
    
    180 07/02/2014 18:11  EXEC 1994
    181 07/02/2014 18:11  CONT /11790 KB
    182 07/02/2014 18:11  ERROR Failure reading from Agent
    Connection
    183 07/02/2014 18:11  ERROR java.io.IOException: Malformed line:
    1996/11790 KB
    184 07/02/2014 18:11  ERROR  at
    com.ibm.jas.agent.reply.AgentReply.parseLine(AgentReply.java:37)
    185 07/02/2014 18:11  ERROR  at
    com.ibm.jas.agent.AgentConnection.readMessage(AgentConnection.ja
    va:312)
    186 07/02/2014 18:11  ERROR  at
    com.ibm.jas.agent.AgentConnection.readMessage(AgentConnection.ja
    va:294)
    187 07/02/2014 18:11  ERROR  at
    com.ibm.jas.agent.action.ReadAgentConnection.action(ReadAgentCon
    nection.java:79)
    188 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
    189 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.action.flow.Block.action(Block.java:100)
    190 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
    191 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.server.impl.AgentServerProvider.finishExecute(Ag
    entServerProvider.java:340)
    192 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.server.impl.AgentServerProvider.execute(AgentSer
    verProvider.java:306)
    193 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.step.impl.MJCStepProvider.executeCommand(MJCStep
    Provider.java:142)
    194 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.step.impl.MJCStepProvider.execute(MJCStepProvide
    r.java:82)
    195 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.step.SimpleStepProviderFiberAction.executeStepPr
    ovider(SimpleStepProviderFiberAction.java:170)
    196 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.step.SimpleStepProviderFiberAction.action(Simple
    StepProviderFiberAction.java:138)
    197 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
    198 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.action(Sel
    ectingStepProviderFiberAction.java:137)
    199 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
    200 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.action.flow.Block.action(Block.java:100)
    201 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
    202 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.Fiber.runFiber(Fiber.java:786)
    203 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberThread.runFibers(FiberThread.java:263)
    204 07/02/2014 18:11  ERROR  at
    com.ibm.jas.fiber.FiberThread.run(FiberThread.java:250)
    205 07/02/2014 18:11  ERROR  at
    com.ibm.jas.mjc.ProcessThread.run(ProcessThread.java:92)
    206 07/02/2014 18:11  ERROR Unexpected exception during execute
    operation
    
    
    Steps to reproduce:
    
    - Generate text file with transfer output with interval of 2.
    
    ie:
    2/11790 KB
    4/11790 KB
    6/11790 KB
    [...]
    1994/11790 KB
    1996/11790 KB
    1998/11790 KB
    2000/11790 KB
    
    - Create test project with single step to output text file
    (Windows: type, UNIX/Linux: cat).
    
    Expected result:
    
    The build log will display the output without issue.
    
    120 Feb 7, 2014 6:49:04 PM  EXEC 2/11790 KB
    121 Feb 7, 2014 6:49:04 PM  EXEC 4/11790 KB
    122 Feb 7, 2014 6:49:04 PM  EXEC 6/11790 KB
    123 Feb 7, 2014 6:49:04 PM  EXEC 8/11790 KB
    [...]
    6012 Feb 7, 2014 6:49:11 PM  EXEC 11784/11790 KB
    6013 Feb 7, 2014 6:49:11 PM  EXEC 11786/11790 KB
    6014 Feb 7, 2014 6:49:11 PM  EXEC 11788/11790 KB
    6015 Feb 7, 2014 6:49:11 PM  EXEC 11790/11790 KB
    
    
    Actual result:
    
    The build step will fail with the Malformed line exception.
    
    180 07/02/2014 18:11  EXEC 1994
    181 07/02/2014 18:11  CONT /11790 KB
    182 07/02/2014 18:11  ERROR Failure reading from Agent
    Connection
    183 07/02/2014 18:11  ERROR java.io.IOException: Malformed line:
    1996/11790 KB
    
    Workaround:
    
    Update the command generating the output to redirect output to a
    file that can be reviewed at a later time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Build Forge 8 java.io.IOException: Malformed line under data *
    * transfer output                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue was fixed in Build Forge 8.0.0.3 release
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI11318

  • Reported component name

    RATIONAL BUILDF

  • Reported component ID

    5724S2700

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-02-07

  • Closed date

    2016-02-22

  • Last modified date

    2016-02-22

  • 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

    RATIONAL BUILDF

  • Fixed component ID

    5724S2700

Applicable component levels

  • R800 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022