Hi Jagath, As discussed, there seems Value class has been changed to contain a SynapsePath instead of SynapseXPath [1]. So all variables that get assigned with "value.getExpression()" now needs to be changed to SynapseXPath, if they are still using SynapsePath.
This will have to be fixed. [1] https://github.com/wso2/wso2-synapse/blob/a14ab065f00bf8a267562787a32e511ff5da6b4e/modules/core/src/main/java/org/apache/synapse/mediators/Value.java Maheeka Jayasuriya Software Engineer Mobile : +94777750661 On Sun, Mar 22, 2015 at 8:31 AM, Jagath Sisirakumara Ariyarathne < jaga...@wso2.com> wrote: > Hi Maheeka, > > I created a sequence and tried to add validate mediator. But cannot save > it and gives the error. > > [image: Inline image 4] > > Thanks. > > On Sun, Mar 22, 2015 at 8:21 AM, Maheeka Jayasuriya <mahe...@wso2.com> > wrote: > >> Seems to be so Jagath. What's the mediator that you have used? >> >> >> On Thursday, March 19, 2015, Jagath Sisirakumara Ariyarathne < >> jaga...@wso2.com> wrote: >> >>> Hi, >>> >>> When I built and run wso2esb-4.9.0-M8-SNAPSHOT pack, it gives below type >>> conversion error while opening validate mediator design view and it does >>> not show configurations window. >>> >>> org.apache.jasper.JasperException: Unable to compile class for JSP: >>> >>> An error occurred at line: 102 in the jsp file: >>> /validate-mediator/edit-mediator.jsp >>> Type mismatch: cannot convert from SynapsePath to SynapseXPath >>> 99: >>> 100: if (schemaKey != null) { >>> 101: showValue = >>> schemaKey.getKeyValue(); >>> 102: synapseXPath = >>> schemaKey.getExpression(); >>> 103: >>> 104: isStaticKey = showValue >>> != null && !"".equals(showValue); >>> 105: >>> >>> >>> >>> Is this due to a source versions mismatch? I used develop branches to >>> build the product. >>> >>> Thanks. >>> >>> -- >>> Jagath Ariyarathne >>> Technical Lead >>> WSO2 Inc. http://wso2.com/ >>> Email: jaga...@wso2.com >>> Mob : +94 77 386 7048 >>> >>> >> >> -- >> Sent from Gmail Mobile >> > > > > -- > Jagath Ariyarathne > Technical Lead > WSO2 Inc. http://wso2.com/ > Email: jaga...@wso2.com > Mob : +94 77 386 7048 > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev