PM48599: Invalid class file in the scope causing 'uncaught exception' during Framework Analysis

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When scanning a Java application, AppScan Source reports an
    'uncaught exception' that looks very similar to defect PM32655
    where there was an issue with the Framework WAFL generator.
    Defect PM32655 was fixed in 8.0.0.1, but this problem is seen
    with 8.0.0.2. There appears to be an invalid class file in the
    scope that is causing this problem.
    
    09/19/11 09:21:52 Error(30082) from Log4jLogger.cpp(144)
    2011-09-19 09:21:51,436 FATAL
    com.ibm.wala.taint.util.logging.TaintLogger
    com.ibm.appscan.frameworks.FrameworksCLI.runMain(FrameworksCLI.j
    ava:43)
    uncaught exception
    
    09/19/11 09:21:52 Info(10125) from AssessmentTask.cpp(200)
    Scan Message: 2011-09-19 09:21:51,436 FATAL
    com.ibm.wala.taint.util.logging.TaintLogger
    com.ibm.appscan.frameworks.FrameworksCLI.runMain(FrameworksCLI.j
    ava:43)
    uncaught exception
    
    09/19/11 09:21:52 Error(30082) from Log4jLogger.cpp(127)
    com.ibm.wala.util.debug.UnimplementedError
        at
    com.ibm.wala.util.debug.Assertions.UNREACHABLE(Assertions.java:4
    6)
        at
    com.ibm.wala.classLoader.ClassFileModule.?init?(ClassFileModule.
    java:38)
        at
    com.ibm.wala.classLoader.BinaryDirectoryTreeModule.makeFile(Bina
    ryDirectoryTreeModule.java:31)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntriesRecursive
    (DirectoryTreeModule.java:51)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntriesRecursive
    (DirectoryTreeModule.java:49)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntriesRecursive
    (DirectoryTreeModule.java:49)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntriesRecursive
    (DirectoryTreeModule.java:49)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntriesRecursive
    (DirectoryTreeModule.java:49)
        at
    com.ibm.wala.classLoader.DirectoryTreeModule.getEntries(Director
    yTreeModule.java:64)
        at
    com.ibm.wala.classLoader.ClassLoaderImpl.getClassFiles(ClassLoad
    erImpl.java:159)
        at
    com.ibm.wala.classLoader.ClassLoaderImpl.init(ClassLoaderImpl.ja
    va:463)
        at
    com.ibm.wala.classLoader.ClassLoaderFactoryImpl.makeNewClassLoad
    er(ClassLoaderFactoryImpl.java:104)
        at
    com.ibm.wala.classLoader.ClassLoaderFactoryImpl.getLoader(ClassL
    oaderFactoryImpl.java:68)
        at
    com.ibm.wala.ipa.cha.ClassHierarchy.?init?(ClassHierarchy.java:2
    29)
        at
    com.ibm.wala.ipa.cha.ClassHierarchy.?init?(ClassHierarchy.java:1
    75)
        at
    com.ibm.wala.ipa.cha.ClassHierarchy.make(ClassHierarchy.java:117
    2)
        at
    com.ibm.wala.ipa.cha.ClassHierarchy.make(ClassHierarchy.java:115
    2)
        at
    com.ibm.appscan.frameworks.WAFLSpecGen.getWAFLSpecForJavaEEApp(W
    AFLSpecGen.java:104)
        at
    com.ibm.appscan.frameworks.WAFLSpecGen.generateWAFLSpecForJavaEE
    App(WAFLSpecGen.java:261)
        at
    com.ibm.appscan.frameworks.FrameworksCLI.runMain(FrameworksCLI.j
    ava:41)
        at
    com.ibm.appscan.frameworks.FrameworksCLI.main(FrameworksCLI.java
    :27)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An invalid class file was causing an error when scanning a
    Java application.
    

Problem conclusion

  • A fix has been implemented for this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM48599

  • Reported component name

    AS SRC ED, SEC

  • Reported component ID

    5724Z3500

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-23

  • Closed date

    2011-11-15

  • Last modified date

    2011-11-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

    AS SRC ED, SEC

  • Fixed component ID

    5724Z3500

Applicable component levels

  • R800 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Security AppScan Source

Software version:

8.0

Reference #:

PM48599

Modified date:

2011-11-15

Translate my page

Machine Translation

Content navigation