Business Central Project Editor unavailable if we clone repository from github

Solution Unverified - Updated -

Issue

  • We have installed the BRMS on WebSphere 8.5.5.6 and clone an existing drools repository from github into the work bench. When I open the project editor, the projects information doesn't load (name, groupId, artifactId, etc) and buttons in the top right are grayed out and can't be used (save, build, rename, copy, and build). When I switch to the dependencies page, the dependencies aren't displayed, and it hangs in the loading view.

  • User has created a project from JBDS and built it using Maven. After that the project is pushed to a Github repository and user then attempted to clone the Github repository to Business Central from BRMS or BPMS 6.3.0 version (using Authoring -> Administration -> Repository -> Clone repository feature). The repository is cloned successfully as per the UI, but user cannot see the project in drop down of Authoring menu. In the terminal and server.log though following logging could be seen.

12:52:29,074 INFO  [org.uberfire.ext.metadata.io.BatchIndex] (EJB default - 8) Starting indexing of default://master@SimpleRepo/ ...
12:52:29,500 ERROR [org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer] (EJB default - 8) Unable to index: default://master@SimpleRepo/project1/src/main/java/com/test/model/Student.java, project could not be calculated.
12:52:29,501 INFO  [org.uberfire.ext.metadata.io.BatchIndex] (EJB default - 8) Completed indexing of default://master@SimpleRepo/
...

15:11:31,277 INFO  [org.kie.workbench.common.services.backend.service.KieService] (http-127.0.0.1:8080-3) File: .gitignore, full path [PathImpl{uri='default://master@SimpleRepo/project1/.gitignore', fileName='.gitignore', attrs={}}] was not within a Project. Project Name cannot be set.
15:12:57,555 INFO  [org.kie.workbench.common.services.backend.service.KieService] (http-127.0.0.1:8080-1) File: pom.xml, full path [default://master@SimpleRepo/project1/pom.xml] was not within a Project. Project Name cannot be set.
15:24:49,337 INFO  [org.kie.workbench.common.services.backend.service.KieService] (http-127.0.0.1:8080-1) File: pom.xml, full path [default://master@SimpleRepo/project1/pom.xml] was not within a Project. Project Name cannot be set.
15:26:42,617 INFO  [org.kie.workbench.common.services.backend.service.KieService] (http-127.0.0.1:8080-1) File: pom.xml, full path [default://master@SimpleRepo/project1/pom.xml] was not within a Project. Project Name cannot be set.
...
  • For the above use case, user has also tried to clone the repository on fresh installation of BRMS or BPMS, still same issue occurs. The only scenario where it is working is when user creates repository and project form Business Central itself. How to solve this kind of issues?

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.1.0
    • 6.2.x
    • 6.3.x
  • Red Hat JBoss BPM Suite (BPMS)
    • 6.1.0
    • 6.2.x
    • 6.3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content