-
Bug
-
Resolution: Done
-
Major
-
7.15.0.Final
-
None
-
NEW
-
NEW
-
- Create a data object class which implements Comparable interface.
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)
~~~~~~~~~~
- clones
-
RHDM-734 ClassNotFoundException during datamodeller indexing
- Closed