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

Stunner - Analyze if some indexing errors should be printed to console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 7.23.0.Final
    • Designer
    • NEW
    • NEW
    • Hide

      1) Import whatever of the the attached hello world process
      Legacy1.bpmn -> created in jBPM designer
      Stunner1.bpmn -> created in Stunner

      Both processes has the following hello world process:
      Start Node -> empty script task -> End node.

      2) in the console the following errors will be printed when importing whatever of the files above.

      [INFO] 2019-06-17 10:23:06,033 [Thread-5015] INFO Completed indexing 1 events for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer] in cluster [KClusterImpl [clusterId=MySpace/test/master]].
      [INFO] 2019-06-17 10:23:06,542 [Thread-5012] ERROR Error: Unable to generate action invoker. Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
      [INFO] org.jbpm.process.instance.impl.Action cannot be resolved to a type
      [INFO] org.drools.core.spi.CompiledInvoker cannot be resolved to a type
      [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type
      [INFO] Exception cannot be resolved to a type
      [INFO] String cannot be resolved to a type
      [INFO] 2019-06-17 10:23:06,543 [Thread-5012] ERROR Error: Process Compilation error The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
      [INFO] Only a type can be imported. org.kie.api.runtime.process.CaseAssignment resolves to a package
      [INFO] Only a type can be imported. org.kie.api.runtime.process.CaseData resolves to a package
      [INFO] Only a type can be imported. org.drools.core.util.KieFunctions resolves to a package
      [INFO] Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor
      [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type
      [INFO] Exception cannot be resolved to a type
      [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type
      [INFO] 2019-06-17 10:23:06,563 [EJB default - 5] INFO KieModule was added: MemoryKieModule[releaseId=com.myspace:test:1.0.0-SNAPSHOT]
      [INFO] 2019-06-17 10:23:06,658 [Thread-5012] INFO Completed indexing 1 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer]

      This errors are printed by the BpmnFileIndexer in Stunner, but not by the BpmnFileIndexer in old jBPM Designer.
      By quickly inspecting the BpmnFileIndexer in Stunner it looks like this are controlled errors, i.e., the indexing of the file is still produced (see comments left by the author in Stunner's BpmnFileIndexer) so the question is if this messages should be printed in the console.

      Show
      1) Import whatever of the the attached hello world process Legacy1.bpmn -> created in jBPM designer Stunner1.bpmn -> created in Stunner Both processes has the following hello world process: Start Node -> empty script task -> End node. 2) in the console the following errors will be printed when importing whatever of the files above. [INFO] 2019-06-17 10:23:06,033 [Thread-5015] INFO Completed indexing 1 events for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer] in cluster [KClusterImpl [clusterId=MySpace/test/master] ]. [INFO] 2019-06-17 10:23:06,542 [Thread-5012] ERROR Error: Unable to generate action invoker. Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor [INFO] org.jbpm.process.instance.impl.Action cannot be resolved to a type [INFO] org.drools.core.spi.CompiledInvoker cannot be resolved to a type [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type [INFO] Exception cannot be resolved to a type [INFO] String cannot be resolved to a type [INFO] 2019-06-17 10:23:06,543 [Thread-5012] ERROR Error: Process Compilation error The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [INFO] Only a type can be imported. org.kie.api.runtime.process.CaseAssignment resolves to a package [INFO] Only a type can be imported. org.kie.api.runtime.process.CaseData resolves to a package [INFO] Only a type can be imported. org.drools.core.util.KieFunctions resolves to a package [INFO] Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type [INFO] Exception cannot be resolved to a type [INFO] org.kie.api.runtime.process.ProcessContext cannot be resolved to a type [INFO] 2019-06-17 10:23:06,563 [EJB default - 5] INFO KieModule was added: MemoryKieModule [releaseId=com.myspace:test:1.0.0-SNAPSHOT] [INFO] 2019-06-17 10:23:06,658 [Thread-5012] INFO Completed indexing 1 events for indexer [id=org.kie.workbench.common.stunner.bpmn.backend.indexing.BpmnFileIndexer] This errors are printed by the BpmnFileIndexer in Stunner, but not by the BpmnFileIndexer in old jBPM Designer. By quickly inspecting the BpmnFileIndexer in Stunner it looks like this are controlled errors, i.e., the indexing of the file is still produced (see comments left by the author in Stunner's BpmnFileIndexer) so the question is if this messages should be printed in the console.

    Description

      Current bpmn file indexer is printing apparently controlled errors into the console.
      Analyze if it make sense to print this errors.

      Attachments

        Activity

          People

            romartin@redhat.com Roger Martinez
            wmedvede@redhat.com Walter Medvedeo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: