Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8022

ClassNotFoundException during datamodeller indexing

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.15.0.Final
    • Fix Version/s: 7.17.0.Final
    • Component/s: Console
    • Labels:
      None
    • Steps to Reproduce:
      • Create a data object class which implements Comparable interface.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Hi,

      when creating a data object class which implements Comparable interface, a ClassNotFoundException is thrown when saving the asset (see stacktrace below).

      ~~~~~~~~~~
      22:20:58,722 ERROR [org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaSourceVisitor] (Thread-145) Unable to index implemented interface qualified name for class: com.OrderedStatusView, interface: Comparable<OrderedStatusView>: java.lang.ClassNotFoundException: Unable to find class 'Comparable<OrderedStatusView>' at org.kie.soup.project.datamodel.commons.types.ClassTypeResolver.resolveType(ClassTypeResolver.java:268) at org.kie.soup.project.datamodel.commons.types.ClassTypeResolver.resolveType(ClassTypeResolver.java:153) at org.kie.soup.project.datamodel.commons.types.ClassTypeResolver.getFullTypeName(ClassTypeResolver.java:386) at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaSourceVisitor.visit(JavaSourceVisitor.java:151) at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaSourceVisitor.visit(JavaSourceVisitor.java:69) at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer.fillIndexBuilder(JavaFileIndexer.java:139) at org.kie.workbench.common.services.refactoring.backend.server.indexing.AbstractFileIndexer.toKObject(AbstractFileIndexer.java:78) at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer$Proxy$_$$_WeldClientProxy.toKObject(Unknown Source) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processNew(IndexerDispatcher.java:255) at org.uberfire.ext.metadata.io.IndexableIOEvent$NewFileEvent.apply(IndexableIOEvent.java:62) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvent(IndexerDispatcher.java:235) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvents(IndexerDispatcher.java:211) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:188) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      ~~~~~~~~~~

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  wmedvede Walter Medvedeo
                  Reporter:
                  elguardian Enrique González Martínez
                  Tester:
                  Klara Kufova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: