beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <>
Subject [jira] Created: (BEEHIVE-889) controls annotation processor needs to safely handle a missing -classpath option
Date Wed, 17 Aug 2005 22:13:53 GMT
controls annotation processor needs to safely handle a missing -classpath option

         Key: BEEHIVE-889
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: TBD    
    Reporter: Eddie O'Neil
    Priority: Minor
     Fix For: TBD

When the controls annotation processing class AptControlInterface attempts to resolve types
during checking, it expects to find a value for the "-classpath" environment variable.  If
this value is missing, the AptControlInterface class NPEs at the stack trace below because
null is returned for the URLClassLoader.  

This should either throw an exception to stop annotation processing or log a warning and continue
annotation processing.  Kyle / Ken, any thoughts there?

Stack trace:
[java]     at org.apache.beehive.controls.runtime.generator.AptControlInterface.check(
[java]     at org.apache.beehive.controls.runtime.generator.AptControlInterface.<init>(
[java]     at org.apache.beehive.controls.runtime.generator.apt.ControlAnnotationProcessor.check(
[java]     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.check(
[java]     at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message