Hi Norbert, We have fixed this issue [1]. The fix is available in the WSO2 EI 6.2.0 RC pack.
[1] https://github.com/wso2/product-ei/issues/1976 Regards, Sashika On Sat, Mar 17, 2018 at 6:08 PM, Norberto Fernandes <[email protected]> wrote: > Hi Devs, > > I am using update 24 that was releases last week. I am having an internal > issue while trying to add an user on Configure > users > add User. > The page appears blank and the server log indicates that it cannot compile > the add-step1.jsp file. (Sending the trace log below) > It looks to me that this JSP is dependent on classes that are not loaded > on this update 24. > > Do you have any fix for this issue? > > Thanks in advance. > > TID: [-1234] [] [2018-03-17 11:51:53,687] ERROR > {org.apache.catalina.core.ApplicationDispatcher} > - Servlet.service() for servlet bridgeservlet threw exception > {org.apache.catalina.core.ApplicationDispatcher} > org.apache.jasper.JasperException: Unable to compile class for JSP: > > An error occurred at line: [1] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > The type org.wso2.carbon.identity.claim.metadata.mgt.stub.dto.LocalClaimDTO > cannot be resolved. It is indirectly referenced from required .class files > > An error occurred at line: [1] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > The type org.wso2.carbon.identity.claim.metadata.mgt.stub. > ClaimMetadataManagementServiceClaimMetadataException cannot be resolved. > It is indirectly referenced from required .class files > > An error occurred at line: [30] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > Only a type can be imported. org.wso2.carbon.identity. > claim.metadata.mgt.stub.dto.LocalClaimDTO resolves to a package > > An error occurred at line: [31] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > Only a type can be imported. org.wso2.carbon.identity. > claim.metadata.mgt.stub.dto.ClaimPropertyDTO resolves to a package > > An error occurred at line: [32] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > Only a type can be imported. org.wso2.carbon.identity. > claim.metadata.mgt.stub.ClaimMetadataManagementServiceClaimMetadataException > resolves to a package > > An error occurred at line: [33] in the generated java file: > [/opt/jlr/apps/versions/wso2ei-6.1.1-update24/wso2/ > lib/tomcat/work/Catalina/localhost/_/proxytemp/hc_ > 204812593/org/apache/jsp/user/add_002dstep1_jsp.java] > Only a type can be imported. org.wso2.carbon.identity. > claim.metadata.mgt.util.ClaimConstants resolves to a package > > An error occurred at line: 253 in the jsp file: /user/add-step1.jsp > LocalClaimDTO cannot be resolved to a type > 250: CarbonUIUtil.getServerURL(config.getServletContext(), > session), > 251: (ConfigurationContext) config.getServletContext(). > getAttribute(CarbonConstants.CONFIGURATION_CONTEXT)); > 252: try { > 253: loop: for(LocalClaimDTO localClaim : > claimDataAdminClient.getLocalClaims()){ > 254: if (EMAIL_CLAIM.equals( > localClaim.getLocalClaimURI())) { > 255: ClaimPropertyDTO[] claimPropertyDTOs = > localClaim.getClaimProperties(); > 256: if (claimPropertyDTOs != null) { > > > An error occurred at line: 253 in the jsp file: /user/add-step1.jsp > The method getLocalClaims() from the type ClaimDataAdminClient refers to > the missing type LocalClaimDTO > 250: CarbonUIUtil.getServerURL(config.getServletContext(), > session), > 251: (ConfigurationContext) config.getServletContext(). > getAttribute(CarbonConstants.CONFIGURATION_CONTEXT)); > 252: try { > 253: loop: for(LocalClaimDTO localClaim : > claimDataAdminClient.getLocalClaims()){ > 254: if (EMAIL_CLAIM.equals( > localClaim.getLocalClaimURI())) { > 255: ClaimPropertyDTO[] claimPropertyDTOs = > localClaim.getClaimProperties(); > 256: if (claimPropertyDTOs != null) { > > > An error occurred at line: 255 in the jsp file: /user/add-step1.jsp > ClaimPropertyDTO cannot be resolved to a type > 252: try { > 253: loop: for(LocalClaimDTO localClaim : > claimDataAdminClient.getLocalClaims()){ > 254: if (EMAIL_CLAIM.equals( > localClaim.getLocalClaimURI())) { > 255: ClaimPropertyDTO[] claimPropertyDTOs = > localClaim.getClaimProperties(); > 256: if (claimPropertyDTOs != null) { > 257: for (ClaimPropertyDTO > claimPropertyDTO : claimPropertyDTOs){ > 258: if (ClaimConstants.REGULAR_ > EXPRESSION_PROPERTY.equals(claimPropertyDTO.getPropertyName())) { > > > An error occurred at line: 257 in the jsp file: /user/add-step1.jsp > ClaimPropertyDTO cannot be resolved to a type > 254: if (EMAIL_CLAIM.equals( > localClaim.getLocalClaimURI())) { > 255: ClaimPropertyDTO[] claimPropertyDTOs = > localClaim.getClaimProperties(); > 256: if (claimPropertyDTOs != null) { > 257: for (ClaimPropertyDTO > claimPropertyDTO : claimPropertyDTOs){ > 258: if (ClaimConstants.REGULAR_ > EXPRESSION_PROPERTY.equals(claimPropertyDTO.getPropertyName())) { > 259: pattern = claimPropertyDTO. > getPropertyValue(); > 260: pattern = "/" + pattern + "/"; > > > An error occurred at line: 258 in the jsp file: /user/add-step1.jsp > ClaimConstants.REGULAR_EXPRESSION_PROPERTY cannot be resolved to a type > 255: ClaimPropertyDTO[] claimPropertyDTOs = > localClaim.getClaimProperties(); > 256: if (claimPropertyDTOs != null) { > 257: for (ClaimPropertyDTO > claimPropertyDTO : claimPropertyDTOs){ > 258: if (ClaimConstants.REGULAR_ > EXPRESSION_PROPERTY.equals(claimPropertyDTO.getPropertyName())) { > 259: pattern = claimPropertyDTO. > getPropertyValue(); > 260: pattern = "/" + pattern + "/"; > 261: break loop; > > > An error occurred at line: 268 in the jsp file: /user/add-step1.jsp > ClaimMetadataManagementServiceClaimMetadataException cannot be resolved > to a type > 265: } > 266: } > 267: } > 268: catch > (ClaimMetadataManagementServiceClaimMetadataException > e) { > 269: logger.error("Error while getting local claims", > e); > 270: } > 271: %> > > > Stacktrace: > at org.apache.jasper.compiler.DefaultErrorHandler.javacError( > DefaultErrorHandler.java:103) > at org.apache.jasper.compiler.ErrorDispatcher.javacError( > ErrorDispatcher.java:366) > at org.apache.jasper.compiler.JDTCompiler.generateClass( > JDTCompiler.java:498) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379) > > …… > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Sashika WijesingheSoftware Engineer - QA Team* Mobile : +94 (0) 774537487 [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
