java.lang.NullPointerException для сборки Beehive

Работа над СТАРЫМ приложением, построенным на Beehive, и попытка добавить новый клиентский код SOAP. Получение ошибки сборки при добавлении кода.

java.lang.NullPointerException в org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.generate(ControlClientAnnotationProcessor.java:153)

Я знаю, что Beehive был мертв и ушел с 06', к сожалению, обновление из него сейчас не вариант. Публикация здесь, потому что документации по Beehive практически нет. Спасибо вам всем

Журналы:

16:30:53.363 [go] Job Started: 2020-08-22 16:30:53 UTC

16:30:53.363 [go] Start to prepare PATGUI-build/110/Execute_Script/1/build_job on edipgo-po-b2p.sys.comcast.net [/app/go-agent2]
16:30:53.371 [go] Start to update materials.

16:30:53.371 [go] Start updating files at revision 1d4af3ea9a7ed397cd5a7d39ca3044e32ef64c0d from git@github.comcast.com:TPP-Provisioning/PortOutGui.git
16:30:53.486 [GIT] Fetching changes
16:30:54.430 STDERR: From github.comcast.com:TPP-Provisioning/PortOutGui
16:30:54.430 STDERR:    5c398b8..1d4af3e  20.08_OMS_15.09_Endpoint -> origin/20.08_OMS_15.09_Endpoint
16:30:54.439 [GIT] Performing git gc
16:30:54.444 [GIT] Reset working directory pipelines/PATGUI-build
16:30:54.444 [GIT] Cleaning all unversioned files in working copy
16:30:54.706 [GIT] Cleaning submodule configurations in .git/config
16:30:54.726 [GIT] Updating working copy to revision 1d4af3ea9a7ed397cd5a7d39ca3044e32ef64c0d
16:30:54.767 HEAD is now at 1d4af3e Removing dependency
16:30:54.868 [GIT] Removing modified files in submodules
16:30:55.174 [GIT] Updating git sub-modules
16:30:56.462 [GIT] Cleaning unversioned files and sub-modules
16:30:56.463 [GIT] Git sub-module status
16:30:56.654  51c608012d468edce285f7e60084b5dfa8e87a7a trunk (PAT-9.10@79-997-g51c6080)
16:30:56.655 [GIT] Cleaning all unversioned files in working copy
16:30:56.990 [go] Done.

16:30:56.991 [go] setting environment variable 'GO_SERVER_URL' to value 'https://edipgo-po-b1p.sys.comcast.net:8154/go'
16:30:56.991 [go] setting environment variable 'GO_TRIGGER_USER' to value 'cdvprov'
16:30:56.991 [go] setting environment variable 'GO_PIPELINE_NAME' to value 'PATGUI-build'
16:30:56.991 [go] setting environment variable 'GO_PIPELINE_COUNTER' to value '110'
16:30:56.991 [go] setting environment variable 'GO_PIPELINE_LABEL' to value '110'
16:30:56.991 [go] setting environment variable 'GO_STAGE_NAME' to value 'Execute_Script'
16:30:56.991 [go] setting environment variable 'GO_STAGE_COUNTER' to value '1'
16:30:56.991 [go] setting environment variable 'GO_JOB_NAME' to value 'build_job'
16:30:56.991 [go] setting environment variable 'GO_REVISION_SOURCE' to value '1d4af3ea9a7ed397cd5a7d39ca3044e32ef64c0d'
16:30:56.991 [go] setting environment variable 'GO_TO_REVISION_SOURCE' to value '1d4af3ea9a7ed397cd5a7d39ca3044e32ef64c0d'
16:30:56.991 [go] setting environment variable 'GO_FROM_REVISION_SOURCE' to value '1d4af3ea9a7ed397cd5a7d39ca3044e32ef64c0d'

16:30:57.001 [go] Start to build PATGUI-build/110/Execute_Script/1/build_job on edipgo-po-b2p.sys.comcast.net [/app/go-agent2]
16:30:57.002 [go] Current job status: passed.

16:30:57.002 [go] Start to execute task: Plugin with ID: script-executor.
16:30:57.006 [script-executor] OS detected: 'Linux'. Is Windows? false
16:30:57.050 [script-executor] Script written into '/app/go-agent2/pipelines/PATGUI-build/4ef4677d-db39-402b-a6d3-58254ed2c98d.sh'.
16:30:57.066 +++ date +%m
16:30:57.066 ++ BUILD_MONTH=08
16:30:57.066 +++ date +%m
16:30:57.066 ++ echo BUILD_MONTH=08
16:30:57.066 +++ cat pom.xml
16:30:57.067 +++ grep '<version>'
16:30:57.069 +++ cut -d '>' -f2
16:30:57.069 +++ head -1
16:30:57.072 +++ cut -d '<' -f1
16:30:57.078 ++ APP_VERSION=20.08
16:30:57.081 +++ cat pom.xml
16:30:57.082 +++ cut -d '>' -f2
16:30:57.082 +++ grep '<sprintNumber>'
16:30:57.083 +++ cut -d '<' -f1
16:30:57.086 +++ head -1
16:30:57.092 ++ SPRINT_NUMBER=01
16:30:57.092 ++ PATCH_NUMBER=110
16:30:57.092 ++ echo APP_VERSION=20.08
16:30:57.092 ++ echo PATCH_NUMBER=20.08.01.110
16:30:57.092 ++ /app/platform/apache-maven-3.0.3/bin/mvn -Dmaven.test.skip=true -DbuildNumber=110 clean install
16:30:59.218 [INFO] Scanning for projects...
16:30:59.502 [INFO] ------------------------------------------------------------------------
16:30:59.502 [INFO] Reactor Build Order:
16:30:59.502 [INFO] 
16:30:59.502 [INFO] PortOut
16:30:59.502 [INFO] PortOutWeb
16:30:59.502 [INFO] PortOutApp
16:30:59.504 [INFO]                                                                         
16:30:59.504 [INFO] ------------------------------------------------------------------------
16:30:59.504 [INFO] Building PortOut 20.08
16:30:59.504 [INFO] ------------------------------------------------------------------------
16:30:59.672 [INFO] 
16:30:59.672 [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ PortOut ---
16:30:59.849 [INFO] 
16:30:59.849 [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ PortOut ---
16:31:00.109 [INFO] Installing /app/go-agent2/pipelines/PATGUI-build/pom.xml to /app/home/go/.m2/repository/com/comcast/ets/tpp/portout/PortOut/20.08/PortOut-20.08.pom
16:31:00.171 [INFO]                                                                         
16:31:00.171 [INFO] ------------------------------------------------------------------------
16:31:00.171 [INFO] Building PortOutWeb 20.08
16:31:00.171 [INFO] ------------------------------------------------------------------------
16:31:01.078 [INFO] 
16:31:01.078 [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ PortOutWeb ---
16:31:01.089 [INFO] Deleting /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/target
16:31:01.100 [INFO] 
16:31:01.100 [INFO] --- apt-maven-plugin:1.0-alpha-5:process (default) @ PortOutWeb ---
16:31:02.031 [INFO] Processing 258 source files
16:34:06.631 [WARNING] 
16:34:06.631 [WARNING] warning: The apt tool and its associated API are planned to be
16:34:06.631 [WARNING] removed in the next major JDK release.  These features have been
16:34:06.631 [WARNING] superseded by javac and the standardized annotation processing API,
16:34:06.631 [WARNING] javax.annotation.processing and javax.lang.model.  Users are
16:34:06.631 [WARNING] recommended to migrate to the annotation processing features of
16:34:06.631 [WARNING] javac; see the javac man page for more information.
16:34:06.631 [WARNING] warning: Annotation types without processors: java.lang.Override,javax.xml.bind.annotation.XmlAccessorType,javax.xml.bind.annotation.XmlType,javax.xml.bind.annotation.XmlRootElement,javax.xml.bind.annotation.XmlElement,javax.xml.bind.annotation.XmlSchemaType,java.lang.SuppressWarnings,javax.xml.bind.annotation.XmlEnum,javax.xml.bind.annotation.XmlEnumValue,javax.xml.bind.annotation.XmlRegistry,org.apache.beehive.controls.system.jdbc.JdbcControl.ConnectionDataSource,org.apache.beehive.controls.system.jdbc.JdbcControl.SQL,com.bea.control.annotations.TransactionAttribute,org.springframework.transaction.annotation.Transactional,javax.xml.bind.annotation.XmlSchema
16:34:06.631 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/com/comcast/tpp/pat/CsrInput.java:12: warning: Form beans using declarative validation annotations should have a Jpf.FormBean annotation on the class declaration.
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3601: warning: File "pat/MyAccountHome.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward toMyAccount() throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3601: warning: File "pat/LoginHome.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward toMyAccount() throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3620: warning: File "pat/MyAccountHome.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward saveMyAccountInfo(MyAccountInfo myAccountInfo) throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3620: warning: File "pat/MyAccountHome.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward saveMyAccountInfo(MyAccountInfo myAccountInfo) throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3620: warning: File "pat/MyAccountHome.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward saveMyAccountInfo(MyAccountInfo myAccountInfo) throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] /app/go-agent2/pipelines/PATGUI-build/PortOutWeb/src/main/java/Controller.java:3650: warning: File "pat/SecurityQuestions.jsp" could not be found in the web application.
16:34:06.658 [WARNING]  public Forward toSecurityQuestions() throws SQLException {
16:34:06.658 [WARNING]                 ^
16:34:06.658 [WARNING] Problem encountered during annotation processing; 
16:34:06.658 [WARNING] see stacktrace below for more information.
16:34:06.658 [WARNING] java.lang.NullPointerException
16:34:06.658 [WARNING]  at org.apache.beehive.controls.runtime.generator.apt.ControlClientAnnotationProcessor.generate(ControlClientAnnotationProcessor.java:153)
16:34:06.658 [WARNING]  at org.apache.beehive.controls.runtime.generator.apt.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:90)
16:34:06.658 [WARNING]  at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:84)
16:34:06.658 [WARNING]  at com.sun.tools.apt.comp.Apt.main(Apt.java:480)
16:34:06.658 [WARNING]  at com.sun.tools.apt.main.AptJavaCompiler.compile(AptJavaCompiler.java:270)
16:34:06.658 [WARNING]  at com.sun.tools.apt.main.Main.compile(Main.java:1127)
16:34:06.658 [WARNING]  at com.sun.tools.apt.main.Main.compile(Main.java:989)
16:34:06.663 [WARNING]  at com.sun.tools.apt.Main.processing(Main.java:113)
16:34:06.663 [WARNING]  at com.sun.tools.apt.Main.process(Main.java:61)
16:34:06.663 [WARNING]  at com.sun.tools.apt.Main.main(Main.java:52)
16:34:06.663 [INFO] ------------------------------------------------------------------------
16:34:06.663 [INFO] Reactor Summary:
16:34:06.663 [INFO] 
16:34:06.663 [INFO] PortOut ........................................... SUCCESS [0.657s]
16:34:06.663 [INFO] PortOutWeb ........................................ FAILURE [3:06.498s]
16:34:06.663 [INFO] PortOutApp ........................................ SKIPPED
16:34:06.663 [INFO] ------------------------------------------------------------------------
16:34:06.663 [INFO] BUILD FAILURE
16:34:06.663 [INFO] ------------------------------------------------------------------------
16:34:06.663 [INFO] Total time: 3:07.488s
16:34:06.663 [INFO] Finished at: Sat Aug 22 16:34:06 UTC 2020
16:34:06.781 [INFO] Final Memory: 6M/103M
16:34:06.781 [INFO] ------------------------------------------------------------------------
16:34:06.783 [ERROR] Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project PortOutWeb: Apt failed -> [Help 1]
16:34:06.783 [ERROR] 
16:34:06.783 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
16:34:06.783 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
16:34:06.783 [ERROR] 
16:34:06.783 [ERROR] For more information about the errors and possible solutions, please read the following articles:
16:34:06.784 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
16:34:06.784 [ERROR] 
16:34:06.784 [ERROR] After correcting the problems, you can resume the build with the command
16:34:06.784 [ERROR]   mvn <goals> -rf :PortOutWeb
16:34:06.812 [script-executor] Script completed with exit code: 1.
16:34:06.824 [go] Current job status: failed.

16:34:06.828 [go] Start to create properties PATGUI-build/110/Execute_Script/1/build_job on edipgo-po-b2p.sys.comcast.net [/app/go-agent2]
16:34:06.828 [go] Start to upload PATGUI-build/110/Execute_Script/1/build_job on edipgo-po-b2p.sys.comcast.net [/app/go-agent2]
16:34:08.622 [go] Uploading artifacts from /app/go-agent2/pipelines/PATGUI-build/PortOutApp/target/PortOutApp-20.08.01.107.ear to target/
16:34:10.398 [go] Uploading artifacts from /app/go-agent2/pipelines/PATGUI-build/build-vars to target/
16:34:10.427 [go] Job completed PATGUI-build/110/Execute_Script/1/build_job on edipgo-po-b2p.sys.comcast.net [/app/go-agent2]

0 ответов

Другие вопросы по тегам