Facing Error incompatible types: SAMLSession cannot be converted to User while building package
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: 184.108.40.206 * 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 --------------------------------------------
Amit Kumar Sharma
can anyone has suggestion here, what can be checked to resolve this error.
Amit Kumar Sharma
I have follow the reverse Merging option to revert the changes.