Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5450

[DMN Designer] ClassCastException while saving an existing DMN file in Kogito

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.40.0.Final
    • DMN Editor
    • Hide

      1) Load the dmn file attached fraud.dmn

      2) Try to change something with the editor

      3) Click on the save button

      Show
      1) Load the dmn file attached  fraud.dmn 2) Try to change something with the editor 3) Click on the save button
    • NEW
    • NEW

      With the attached fraud.dmn it is not possible to perform the save operation on kogito webapp.

       

      This is the error:

      {{Error: java.lang.ClassCastException
       at qcf_g$.aHb_g$ [as createError_0_g$] (Throwable.java:120)
       at qcf_g$.kHb_g$ [as initializeBackingError_0_g$] (Throwable.java:112)
       at qcf_g$.VGb_g$ (Throwable.java:66)
       at qcf_g$.zHb_g$ (Exception.java:29)
       at qcf_g$.pLc_g$ (RuntimeException.java:29)
       at new qcf_g$ (ClassCastException.java:27)
       at Dzm_g$ (InternalPreconditions.java:154)
       at Pzm_g$ (InternalPreconditions.java:138)
       at Ozm_g$ (InternalPreconditions.java:133)
       at Y6h_g$ (Cast.java:155)
       at c4M_g$ (UnaryTestsPropertyConverter.java:76)
       at v1M_g$ (ItemDefinitionPropertyConverter.java:129)
       at X61_g$ (DefinitionsConverter.java:164)
       at eEw_g$.kEw_g$ [as marshall_0_g$] (DMNMarshallerKogitoMarshaller.java:150)
       at oEw_g$.yEw_g$ [as marshall_0_g$] (Type_factory__o_k_w_c_d_w_k_c_c_c_DMNMarshallerKogitoMarshaller_quals_j_e_i_Any_j_e_i_Default.java:67)
       at kMw_g$.tMw_g$ [as marshall_1_g$] (DMNClientDiagramServiceImpl.java:234)
       at kMw_g$.M01_g$ [as lambda$2_166_g$] (DMNClientDiagramServiceImpl.java:202)
       at Function.t71_g$ (DMNClientDiagramServiceImpl.java:199)
       at lambda_0_g$ (Runtime.java:166)
       at new Promise (<anonymous>)
       at dQU_g$.hQU_g$ [as create_77_g$] (Promises.java:200)
       at kMw_g$.wMw_g$ [as transform_28_g$] (DMNClientDiagramServiceImpl.java:199)
       at AMw_g$.QMw_g$ [as transform_28_g$] (Type_factory__o_k_w_c_d_w_k_c_c_s_DMNClientDiagramServiceImpl_quals_j_e_i_Any_j_e_i_Default.java:83)
       at M21_g$.AOM_g$ [as getContent_5_g$] (AbstractDMNDiagramEditor.java:403)
       at M21_g$.mPM_g$ [as doSave_2_g$] (DMNDiagramEditor.java:234)
       at CPM_g$.DPM_g$ [as execute_3_g$] (DMNDiagramEditor.java:185)
       at s0U_g$ (ListBarWidgetImpl.java:466)
       at G1U_g$.H1U_g$ [as onClick_6_g$] (ListBarWidgetImpl.java:466)
       at qCh_g$.rCh_g$ [as dispatch_46_g$] (ClickEvent.java:56)
       at qCh_g$.sCh_g$ [as dispatch_2_g$] (ClickEvent.java:55)
       at qCh_g$.Ju_g$ [as dispatch_1_g$] (GwtEvent.java:76)
       at vMh_g$ (EventBus.java:40)
       at XMh_g$.GMh_g$ [as doFire_0_g$] (SimpleEventBus.java:193)
       at XMh_g$.MMh_g$ [as fireEvent_4_g$] (SimpleEventBus.java:88)
       at kMh_g$.nMh_g$ [as fireEvent_1_g$] (HandlerManager.java:127)
       at lMn_g$.wPc_g$ [as fireEvent_1_g$] (Widget.java:129)
       at qBh_g$ (DomEvent.java:125)
       at lMn_g$.EPc_g$ [as onBrowserEvent_0_g$] (Widget.java:177)
       at IRi_g$ (DOM.java:1481)
       at HRi_g$ (DOM.java:1420)
       at HTMLButtonElement.ZXi_g$ (DOMImplStandard.java:317)
       at jag_g$ (Impl.java:309)
       at mag_g$ (Impl.java:361)
       at HTMLButtonElement.<anonymous> (Impl.java:78)}}

              karreiro_ Guilherme Gomes (Inactive)
              vpellegr Valentino Pellegrino (Inactive)
              Barbora Kapustova Barbora Kapustova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: