Skip to content
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

JBPM-10193: UI error: unexpected system error occurred when access Form asset and also Task form which have listbox component #3819

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

bxf12315
Copy link
Member

@bxf12315 bxf12315 commented Sep 5, 2023

Thank you for submitting this pull request

JIRA: JBPM-10193

Referenced Pull Requests:

Business Central: WAR file

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • Retest PR: jenkins retest this
  • A full downstream build: jenkins do fdb
  • A compile downstream build: jenkins do cdb
  • A full production downstream build: jenkins do product fdb
  • An upstream build: jenkins do upstream
How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

…m asset and also Task form which have listbox component
@bxf12315
Copy link
Member Author

bxf12315 commented Sep 6, 2023

jenkins retest this

@bxf12315
Copy link
Member Author

bxf12315 commented Sep 6, 2023

jenkins do fdb

@bxf12315
Copy link
Member Author

bxf12315 commented Sep 6, 2023

jenkins retest this

3 similar comments
@mareknovotny
Copy link
Member

jenkins retest this

@bxf12315
Copy link
Member Author

jenkins retest this

@bxf12315
Copy link
Member Author

jenkins retest this

@mareknovotny
Copy link
Member

@bxf12315 there is some API incompatibility in kie-wb-common-dmn-webapp-kogito-marshaller module

[2023-09-26T01:40:02.815Z] [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate (generate-javascript) on project kie-wb-common-dmn-webapp-kogito-marshaller: Execution generate-javascript of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate failed: An API incompatibility was encountered while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate: java.lang.ExceptionInInitializerError: null

@bxf12315
Copy link
Member Author

jenkins retest this

@bxf12315
Copy link
Member Author

@bxf12315 there is some API incompatibility in kie-wb-common-dmn-webapp-kogito-marshaller module

[2023-09-26T01:40:02.815Z] [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate (generate-javascript) on project kie-wb-common-dmn-webapp-kogito-marshaller: Execution generate-javascript of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate failed: An API incompatibility was encountered while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate: java.lang.ExceptionInInitializerError: null

I tried to update maven-jaxb2-plugin : kiegroup/droolsjbpm-build-bootstrap#2382.
Can the PR build will include this one ?

@mareknovotny
Copy link
Member

yes, if it is the same branch name it will be taken into PR CI build.

jenkins retest this please

@bxf12315
Copy link
Member Author

bxf12315 commented Sep 27, 2023

same issue,kiegroup/droolsjbpm-build-bootstrap#2382 change not work in the PR build.

yes, if it is the same branch name it will be taken into PR CI build.

jenkins retest this please

22:48:26 [INFO] --- maven-jaxb2-plugin:0.14.0:generate (generate-javascript) @ kie-wb-common-dmn-webapp-kogito-marshaller --- 22:48:27 Sep 27, 2023 10:48:26 AM com.sun.xml.bind.v2.runtime.reflect.opt.Injector <clinit> 22:48:27 SEVERE: null 22:48:27 java.security.PrivilegedActionException: java.lang.NoSuchMethodException: sun.misc.Unsafe.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)

@bxf12315
Copy link
Member Author

jenkins retest this please

@bxf12315
Copy link
Member Author

jenkins do fdb

@mareknovotny
Copy link
Member

@bxf12315 you need to have all PRs on the same user:branch and then the FDB on parent PR take them into FDB.
You did here as https://github.com/Cory-jbpm/kie-wb-common/tree/JBPM-10193 and top parent PR as https://github.com/bxf12315/droolsjbpm-build-bootstrap/tree/JBPM-10193

so there are different authors according to Github and PRs won't be in PR CI or in FDB CI.
Change this or https://github.com/bxf12315/droolsjbpm-build-bootstrap/tree/JBPM-10193 to the same github author fork

@bxf12315
Copy link
Member Author

jenkins retest this please

@bxf12315
Copy link
Member Author

jenkins do fdb

@sonarcloud
Copy link

sonarcloud bot commented Sep 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@paulovmr paulovmr changed the title JBPM-10193 UI error: unexpected system error occurred when access For… JBPM-10193: UI error: unexpected system error occurred when access Form asset and also Task form which have listbox component Sep 28, 2023
@mareknovotny mareknovotny merged commit a3e1eaf into kiegroup:main Oct 2, 2023
4 of 6 checks passed
@mareknovotny mareknovotny added backport-7.67.x Generate backport PR for 7.67.x branch backport-7.67.x-blue Generate backport PR for 7.67.x-blue branch labels Oct 19, 2023
github-actions bot pushed a commit that referenced this pull request Oct 19, 2023
…m asset and also Task form which have listbox component (#3819)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7.67.x Generate backport PR for 7.67.x branch backport-7.67.x-blue Generate backport PR for 7.67.x-blue branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants