Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-215

[javaflow] Possible null pointer dereference in method doTransform of class BcelClassTransformer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Javaflow
    • Labels:
      None

      Description

      There is a possible null pointer dereference in method doTransform of class BcelClassTransformer.
      When this code:
      javaClazz = parser.parse();
      throws an exception or returns null this line:
      log.debug("transforming class " + javaClazz.getClassName());
      and/or later the
      String[] intfs = javaClazz.getInterfaceNames();
      will throw a NullPointerException.

        Attachments

          Activity

            People

            • Assignee:
              tcurdt Torsten Curdt
              Reporter:
              pmay Philip May
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: