You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Richard Feit <ri...@bea.com> on 2005/02/23 08:06:50 UTC

controls DRT failing on linux?

Hi all,

I'm getting the following error when running 'ant drt' under controls, 
only on Linux.  I just modified ControlClientAnnotationProcessor, but 
this appears to happen even with the revision before my checkin.  Has 
anyone else seen this?

build:
Overriding previous definition of reference to appserver.build.classpath
   [delete] Deleting directory 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc
[xmlbeanbuild] Could not find any xsd or wsdl files to process.
Trying to override old definition of task apt
      [apt] Compiling 12 source files to 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/classes
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/Instantiate.java:27: 
cannot find symbol
      [apt] symbol  : class Controls
      [apt] location: package org.apache.beehive.controls.api.bean
      [apt] import org.apache.beehive.controls.api.bean.Controls;
      [apt]                                             ^
      [apt] warning: Annotation types without processors: 
[org.apache.beehive.controls.api.events.EventHandler, 
org.apache.beehive.controls.test.controls.property.SingleProperty.Greeting]
      [apt] Problem encountered during annotation processing;
      [apt] see stacktrace below for more information.
      [apt] java.lang.NullPointerException
      [apt]     at 
org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.checkControlField(ControlClientAnnotationProcessor.java:185)
      [apt]     at 
org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.check(ControlClientAnnotationProcessor.java:57)
      [apt]     at 
org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.check(TwoPhaseAnnotationProcessor.java:103)
      [apt]     at 
org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:88)
      [apt]     at 
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
      [apt]     at com.sun.tools.apt.comp.Apt.main(Apt.java:404)
      [apt]     at 
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:440)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1017)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:907)
      [apt]     at com.sun.tools.apt.Main.compile(Main.java:41)
      [apt]     at com.sun.tools.apt.Main.main(Main.java:32)
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/Instantiate.java:27: 
cannot find symbol
      [apt] symbol  : class Controls
      [apt] location: package org.apache.beehive.controls.api.bean
      [apt] import org.apache.beehive.controls.api.bean.Controls;
      [apt]                                             ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/ContextEvent.java:50: 
cannot find symbol
      [apt] symbol  : method testBeanContextEvent()
      [apt] location: class 
org.apache.beehive.controls.test.driver.contextevent.DriveBeanRecorder
      [apt]     Report report=driver.testBeanContextEvent();
      [apt]                             ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/ContextEvent.java:51: 
cannot find symbol
      [apt] symbol  : method testResourceContextEvent()
      [apt] location: class 
org.apache.beehive.controls.test.driver.contextevent.DriveBeanRecorder
      [apt]     report=driver.testResourceContextEvent();
      [apt]                      ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/ContextEvent.java:55: 
cannot find symbol
      [apt] symbol  : method getResult()
      [apt] location: class 
org.apache.beehive.controls.test.driver.contextevent.DriveBeanRecorder
      [apt]             report=driver.getResult();
      [apt]                              ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/Instantiate.java:65: 
cannot find symbol
      [apt] symbol  : variable Controls
      [apt] location: class jws.Instantiate
      [apt]             SinglePropertyBean spbean = 
(SinglePropertyBean)Controls.instantiate(
      
[apt]                                                                 ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/jws/Instantiate.java:72: 
cannot find symbol
      [apt] symbol  : method doTestReconfiguredProperty(java.lang.String)
      [apt] location: class 
org.apache.beehive.controls.test.driver.instantiate.DriveSingleProperty
      [apt]             report=driver.doTestReconfiguredProperty("Good 
afternoon!");
      [apt]                              ^
      [apt] 
/home/rich/w/b/controls/test/build/webapps/controlsWeb/WEB-INF/.tmpbeansrc/milton/webservices/instantiate/DriveHelloControlWebService.java:21: 
cannot find symbol
      [apt] symbol  : method 
testInstantiation(org.apache.beehive.controls.test.controls.instantiate.HelloControlBean)
      [apt] location: class 
org.apache.beehive.controls.test.driver.instantiate.DriveHelloControl
      [apt]         return driver.testInstantiation(testInstantiation_hcb);
      [apt]                      ^
      [apt] 7 errors

BUILD FAILED
/home/rich/w/b/controls/build.xml:219: The following error occurred 
while executing this line:
/home/rich/w/b/controls/test/build.xml:370: The following error occurred 
while executing this line:
/home/rich/w/b/controls/test/build.xml:385: The following error occurred 
while executing this line:
/home/rich/w/b/controls/test/build.xml:357: The following error occurred 
while executing this line:
/home/rich/w/b/controls/test/webapps/build.xml:114: The following error 
occurred while executing this line:
/home/rich/w/b/controls/test/webapps/build.xml:122: The following error 
occurred while executing this line:
/home/rich/w/b/beehive-imports.xml:175: The following error occurred 
while executing this line:
/home/rich/w/b/ant/buildWebapp.xml:43: The following error occurred 
while executing this line:
/home/rich/w/b/ant/buildWebappCore.xml:68: Compile failed; see the 
compiler error output for details.