Facing Error incompatible types: SAMLSession cannot be converted to User while building package

0
I am getting below error while creating package. Before commit my changes I resolved few errors related with SAML2.0 and after reverted those changes too this error is not getting resolved. Please suggest how to proceed. ----------------------------logs----------------------- Starting build for Mendix Project file: /srv/cloud/slots/tr10000/deploy/data/tmp/db15592c-3a44-4a52-af93-d1347f234afd/src/DocGenerationApp.mpr Using the following options: * Build target: Package * Deployment package file: /srv/cloud/slots/tr10000/deploy/data/tmp/buildjob1042749988579685513.mda * Model version: 2.3.0.99 * Model description: feedback resolution * Project name: PIIC Automation Reading project file... libpng warning: sBIT: invalid Building project... Executing step 'Synchronize with file system' * Synchronizing with file system... libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Executing step 'Initialize' * Preparing deployment... Executing step 'Check prerequisites' * Checking for errors... Executing step 'Clean deployment directory' * Cleaning deployment directory... * Cleaning web deployment directory... Executing step 'Prepare deployment' * Writing files... Executing step 'Build deployment structure' * Compiling Java... ERROR: An error occurred while compiling Java actions Buildfile: /srv/cloud/slots/tr10000/deploy/data/tmp/db15592c-3a44-4a52-af93-d1347f234afd/src/deployment/build_core.xml compile: [javac] Compiling 392 source files to /srv/cloud/slots/tr10000/deploy/data/tmp/db15592c-3a44-4a52-af93-d1347f234afd/src/deployment/run/bin [javac] /srv/cloud/slots/tr10000/deploy/data/tmp/db15592c-3a44-4a52-af93-d1347f234afd/src/javasource/saml20/implementation/security/SessionManager.java:429: error: incompatible types: SAMLSession cannot be converted to User [javac] LoginFeedback feedback = saml20.proxies.microflows.Microflows.customUserProvisioning(mxContext, SAMLSession.initialize(mxContext, samlSessionObject), [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output [javac] 1 error BUILD FAILED /srv/cloud/slots/tr10000/deploy/data/tmp/db15592c-3a44-4a52-af93-d1347f234afd/src/deployment/build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 3 seconds --------------------------------------------
asked
2 answers
0

hello team,

can anyone has suggestion here, what can be checked to resolve this error.

answered
0

I have follow the reverse Merging option to revert the changes.

doc https://docs.mendix.com/refguide7/using-version-control-in-the-dm#:~:text=Choose%20Project%20%3E%20More%20Versioning%20%3E%20Reverse%20Merge%20Changes%E2%80%A6&text=Just%20like%20when%20you%20are,the%20results%20to%20the%20repository. I have followed and it helped me. 

My problem has been resolved now.

 

Thanks a lot.

answered