-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal com.tibco.plugins:bw6-maven-plugin:2.7.0:bwmodule (default-bwmodule) on project <>: Execution default-bwmodule of goal com.tibco.plugins:bw6-maven-plugin:2.7.0:bwmodule failed.: NullPointerException #502
Comments
|
HI Vishal, |
Hi @bibhuduttaGitHub, Thanks for sharing debug logs. It seems the maven plugin was unable to parse MANIFEST.MF for one of the dependency jar file. Could you inspect those jars? |
Any specific thing i need to look for? |
HI Vishal, |
Hi @bibhuduttaGitHub, Maven plugin reads Manifest.mf file from each dependency jar to understand if it is a shared module or other library. Based on the debug logs shared by you, It was able to parse the manifest and add it as dependency for
You can check if jar file is not corrupted. Unzip the jars in a temporary folder and check if the manifest.mf file is located at |
HI Vishal, |
HI Vishal, |
Hi @bibhuduttaGitHub, Please share the project and dependency jars to reproduce the issue. You can share the artifacts via TIBCO support case and mention the support case number here. |
Case #01895887 . Please check. |
Hi @bibhuduttaGitHub , The
The JDK Issue - JDK-4338238 Please regenerate the plugins.jar. Thanks. |
HI Vishal, |
Hi @bibhuduttaGitHub, This link may help. But it is always recommended to fix the issue while exporting the jar. |
Thanks Vishal, |
Hi @bibhuduttaGitHub, From the reference links shared in my earlier responses, MANIFEST.MF entry on first/second line is constraint required from JDK while packaging the jar. It is not an issue with bw6 maven plugin. |
So, what is the way to identify which jar has the issue? |
Hi tibco team, I'm having the same issue with a jar from maven repository, based on the description shared on this issue, seems the jar was not generated as per the JDK constraints hence the META-INF/MANIFEST.MF file is not comming on th first/second entry. How can I fix this is the jar used I did not build it and it comes from the apache foundation pulsar project. org.apache.pulsar pulsar-client 2.9.1 |
Maven Plugin version: 2.7.0
Maven version:3.6.3
Product : Either of TIBCO ActiveMatrix Businessworks 6 OR TIBCO Businessworks Container edition
Product version:TIBCO Businessworks Container edition 2.5.4
Component: Either of Maven Eclipse Plugin or Maven build plugin
Steps to reproduce the issue:
Additional environment details if any:
Describe the results you received:
[INFO] Reactor Summary for <>.application.parent 1.0.12-SNAPSHOT:
[INFO]
[INFO] <>.application.parent ........... SUCCESS [ 0.946 s]
[INFO] <>.............................. FAILURE [ 23.219 s]
[INFO] <>.application .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:52 min
[INFO] Finished at: 2020-09-22T10:52:06-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.tibco.plugins:bw6-maven-plugin:2.7.0:bwmodule (default-bwmodule) on project <>: Execution default-bwmodule of goal com.tibco.plugins:bw6-maven-plugin:2.7.0:bwmodule failed.: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.tibco.plugins:bw6-maven-plugin:2.7.0:bwmodule (default-bwmodule) on project
Describe the results you expected:
it should ideally build the package.
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: