You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Philip May (JIRA)" <ji...@apache.org> on 2008/02/21 16:49:19 UTC
[jira] Created: (SANDBOX-215) [javaflow] Possible null pointer
dereference in method doTransform of class BcelClassTransformer
[javaflow] Possible null pointer dereference in method doTransform of class BcelClassTransformer
------------------------------------------------------------------------------------------------
Key: SANDBOX-215
URL: https://issues.apache.org/jira/browse/SANDBOX-215
Project: Commons Sandbox
Issue Type: Bug
Components: Javaflow
Reporter: Philip May
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SANDBOX-215) [javaflow] Possible null pointer
dereference in method doTransform of class BcelClassTransformer
Posted by "Torsten Curdt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SANDBOX-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Torsten Curdt closed SANDBOX-215.
---------------------------------
Resolution: Fixed
the transformer is now returning null instead
> [javaflow] Possible null pointer dereference in method doTransform of class BcelClassTransformer
> ------------------------------------------------------------------------------------------------
>
> Key: SANDBOX-215
> URL: https://issues.apache.org/jira/browse/SANDBOX-215
> Project: Commons Sandbox
> Issue Type: Bug
> Components: Javaflow
> Reporter: Philip May
> Assignee: Torsten Curdt
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.