PM88037: Running a build might result in validation of JavaScript files to hang

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempting to build a project containing certain Javascript
    files might result in the validation of JavaScript files to
    cause the build to hang.
    
    Problem:
    
    1. Create a new workspace
    2. Create a new Dynamic web project MyWeb with JavaScript
    support
    3. Create specifically crafted JavaScript files in the project
    within WebContent\js
    
    Expected Result:
    Build finishes once JavaScript files have been disabled
    
    Actual Result:
    
    Build does not progress while Validating MyWeb\WebContent\js.  A
    javacore triggered shows the build is hung at the following:
    ...
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/SourceTypeBinding$
    11.performAction(Bytecode
    PC:6(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/SourceTypeBinding.
    performActionOnLinkedBindings(Bytecode
    PC:6(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/SourceTypeBinding.
    getSuperBinding(Bytecode
    PC:9(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/TypeBinding.findSu
    perTypeWithSameErasure(Bytecode
    PC:193(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/Scope.mostSpecific
    MethodBinding(Bytecode
    PC:433)
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/Scope.findMethod(B
    ytecode
    PC:1001(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/lookup/Scope.getFieldOrMe
    thod(Bytecode
    PC:59(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/FieldReference.resolv
    eType(Bytecode
    PC:397(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.resolveTyp
    e(Bytecode
    PC:81(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/Expression.resolve(By
    tecode
    PC:2(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/Block.resolve(Bytecod
    e
    PC:58(Compiled Code))
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/IfStatement.resolve(B
    ytecode
    PC:24)
     at
    org/eclipse/wst/jsdt/internal/compiler/ast/CompilationUnitDeclar
    ation.resolve(Bytecode
    PC:167)
     at
    org/eclipse/wst/jsdt/internal/compiler/Compiler.process(Bytecode
    PC:31)
     at
    org/eclipse/wst/jsdt/internal/compiler/Compiler.compile(Bytecode
    PC:87)
    ...
     at
    org/eclipse/wst/jsdt/internal/core/builder/JavaBuilder.build(Byt
    ecode
    PC:154)
     at org/eclipse/core/internal/events/BuildManager$2.run(Bytecode
    PC:33)
    
    Local fix:
    
    Turn off automatic build before creating or importing a project
    via Project ? Automatically.
    
    Once the project exists, you can right-click on the project,
    select Properties ? Builder and un-select the JavaScript
    Validator builder. Turn on automatic build afterwards.
    

Local fix

Problem summary

  • The JavaScript builder/validator was hanging due to an infinite
    loop when validating the code.
    

Problem conclusion

  • A check was put into the code to avoid duplicate checks and
    eliminate the infinite loop.
    
    The fix for this APAR is included in Rational Application
    Developer v8.0.4.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM88037

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-29

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

  • R804 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Application Developer for WebSphere Software

Software version:

8.0.4

Reference #:

PM88037

Modified date:

2013-10-28

Translate my page

Machine Translation

Content navigation