OK, the issue disappeared when I wiped out the entire beehive
directory. Sorry for the false alarm...
Richard Feit wrote:
Strange -- I'm at revision 154978, with no local modifications (I saw
this on my buddy build for my checkin). I'm going to try this again
with a clean pull of the entire tree.
Jeremiah Johnson wrote:
What revision are you using? I just got the latest (current revision
for me is 154978) and did okay with Red ES. Send me your patch if you
like and I can test it out on my machine.
- jeremiah
-----Original Message-----
From: Richard Feit Sent: Wednesday, February 23, 2005 12:07 AM
To: Beehive Developers
Subject: 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/.tmpbeans
rc
[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/.tmpbeans
rc/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.Greeti
ng]
[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.ControlClientAnnotatio
nProcessor.checkControlField(ControlClientAnnotationProcessor.java:185)
[apt] at
org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotatio
nProcessor.check(ControlClientAnnotationProcessor.java:57)
[apt] at
org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProc
essor.check(TwoPhaseAnnotationProcessor.java:103)
[apt] at
org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProc
essor.process(TwoPhaseAnnotationProcessor.java:88)
[apt] at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.pro
cess(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/.tmpbeans
rc/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/.tmpbeans
rc/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/.tmpbeans
rc/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/.tmpbeans
rc/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/.tmpbeans
rc/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/.tmpbeans
rc/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/.tmpbeans
rc/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.