Actions
Defect #3472
openWizard fails with Illegal Argument Exception in step 3 when I continue with pre-selected "Identity" option
Status:
New
Priority:
Low
Assignee:
Peter Štrunc
Category:
Wizard
Target version:
-
Start date:
11/02/2023
Due date:
% Done:
0%
Estimated time:
Affected versions:
Owner:
Description
Tested with CSV wizard and Virtual system wizard.
When I go from step 2 to step 2 Type of object is pre-selected with "Identity". When I click "Next" I get IllegalArgumentException. The same happens when I go from step 4 back to step 3 and then click "Next". When I explicitly select "Identity" from the select box It works properly.
Stacktrace of the exception is:
2023-11-02 15:07:52.272 ERROR 77577180 --- [ajp-nio-127.0.0.1-8009-exec-5] eu.bcvsolutions.idm.core.exception.ExceptionControllerAdvice.log : [core:INTERNAL_SERVER_ERROR:455f3450-13bc-4169-921c-1445b7b61c e6] Entity type cannot be null! ({}) java.lang.IllegalArgumentException: Entity type cannot be null! at org.springframework.util.Assert.hasText(Assert.java:286) at eu.bcvsolutions.idm.acc.connector.AbstractConnectorType.executeMappingStep(AbstractConnectorType.java:308) at eu.bcvsolutions.idm.acc.connector.AbstractConnectorType.execute(AbstractConnectorType.java:112) at eu.bcvsolutions.idm.acc.connector.CsvConnectorType.execute(CsvConnectorType.java:131) at eu.bcvsolutions.idm.acc.connector.CsvConnectorType.execute(CsvConnectorType.java:50) at eu.bcvsolutions.idm.acc.connector.CsvConnectorType$$FastClassBySpringCGLIB$$a85f5896.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at eu.bcvsolutions.idm.acc.connector.CsvConnectorType$$EnhancerBySpringCGLIB$$b0e18648.execute(<generated>) at eu.bcvsolutions.idm.acc.connector.DefaultConnectorManager.execute(DefaultConnectorManager.java:133) at eu.bcvsolutions.idm.acc.connector.DefaultConnectorManager.execute(DefaultConnectorManager.java:50) at eu.bcvsolutions.idm.acc.connector.DefaultConnectorManager$$FastClassBySpringCGLIB$$998ef98c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at eu.bcvsolutions.idm.acc.connector.DefaultConnectorManager$$EnhancerBySpringCGLIB$$46a9b2ea.execute(<generated>) at eu.bcvsolutions.idm.acc.rest.impl.SysSystemController.executeWizardType(SysSystemController.java:1125) at eu.bcvsolutions.idm.acc.rest.impl.SysSystemController$$FastClassBySpringCGLIB$$b2478f50.invoke(<generated>)
No data to display
Actions