IBM Support

PM66565: A java.lang.NullPointerException might occur when building your workspace as a result of the 'JavaScript Validator'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to build your imported Web Archive (WAR) file might
    result in the follow error:
    
    'Errors occurred during the build.
    Errors running builder 'JavaScript Validator' on project
    'MyProject'.
    java.lang.NullPointerException'
    
    Problem:
    
    After importing your WAR file into the product you get the
    following error in a pop-up:
    
    'Errors occurred during the build.
    Errors running builder 'JavaScript Validator' on project
    'MyProject'.
    java.lang.NullPointerException'
    
    In the workspace .log file, you see errors like the following:
    
    !ENTRY org.eclipse.wst.jsdt.ui 4 0 2012-06-07 15:56:53.787
    !MESSAGE Error in JSDT Core during AST creation
    !STACK 0
    java.lang.NullPointerException
     at
    org.eclipse.wst.jsdt.core.infer.InferredType.resolveType(Unknown
    Source)
     at
    org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.reso
    lveVarType(Unknown
    Source)
     at
    org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitSco
    pe$DeclarationVisitor.visit(Unknown
    Source)
    ...
    
    Local fix:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A missing check for null was causing a NullPointerException
    when the JavaScript builder ran.
    

Problem conclusion

  • A null check has been added to correct the problem.
    
    The fix for this APAR is included in Rational Application
    Developer v8.0.4.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM66565

  • Reported component name

    RATL APP DEV SE

  • Reported component ID

    5725B4400

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-11

  • Closed date

    2012-12-15

  • Last modified date

    2012-12-15

  • 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 SE

  • Fixed component ID

    5725B4400

Applicable component levels

  • R804 PSN

       UP

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

Document Information

Modified date:
15 December 2012