Correction : All variables that get assigned with "value.getExpression()" now needs to be changed to SynapsePath, if they are still declared as SynapseXPath or they need to be casted to SynapseXPath.
Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +94777750661 On Mon, Mar 23, 2015 at 6:11 PM, Maheeka Jayasuriya <[email protected]> wrote: > 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 < > [email protected]> 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 <[email protected]> >> wrote: >> >>> Seems to be so Jagath. What's the mediator that you have used? >>> >>> >>> On Thursday, March 19, 2015, Jagath Sisirakumara Ariyarathne < >>> [email protected]> 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: [email protected] >>>> Mob : +94 77 386 7048 >>>> >>>> >>> >>> -- >>> Sent from Gmail Mobile >>> >> >> >> >> -- >> Jagath Ariyarathne >> Technical Lead >> WSO2 Inc. http://wso2.com/ >> Email: [email protected] >> Mob : +94 77 386 7048 >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
