Ok, I will have a look.
On Wednesday 19 December 2007, Andrea Aime wrote: > Andrea Aime ha scritto: > > Hi, > > I would like to use a feature of javacc that has been introduced > > in javacc 4.0, specifically the ability to specify a base class > > for the SimpleNode objects generated by the parser. > > > > I've tried upgrading the dependency in the plugin, but I get > > two test failures in the cql module (two null pointer exception). > > Do you think it's possible to fix them and upgrade the plugin? > > Ah for the record here are the failures: > > --------------------------------------------------------------------------- >---- Test set: org.geotools.filter.text.cql2.CQLTest > --------------------------------------------------------------------------- >---- Tests run: 27, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.359 > sec <<< FAILURE! > testTextPredicate(org.geotools.filter.text.cql2.CQLTest) Time elapsed: > 0 sec <<< ERROR! > java.lang.NullPointerException > at > org.geotools.filter.text.cql2.CQLCompiler.buildObject(CQLCompiler.java:345) > at > org.geotools.filter.text.cql2.CQLCompiler.jjtreeCloseNodeScope(CQLCompiler. >java:134) at > org.geotools.filter.text.cql2.CQLParser.CharacterPattern(CQLParser.java:171 >9) at > org.geotools.filter.text.cql2.CQLParser.TextPredicate(CQLParser.java:1678) > at org.geotools.filter.text.cql2.CQLParser.Predicate(CQLParser.java:302) > at > org.geotools.filter.text.cql2.CQLParser.BooleanPrimary(CQLParser.java:267) > at > org.geotools.filter.text.cql2.CQLParser.BooleanFactor(CQLParser.java:220) > at > org.geotools.filter.text.cql2.CQLParser.BooleanTerm(CQLParser.java:177) > at > org.geotools.filter.text.cql2.CQLParser.BooleanValueExpression(CQLParser.ja >va:130) at > org.geotools.filter.text.cql2.CQLParser.SearchCondition(CQLParser.java:99) > at > org.geotools.filter.text.cql2.CQLParser.CompilationUnit(CQLParser.java:72) > at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:136) > at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:107) > at > org.geotools.filter.text.cql2.CQLTest.testTextPredicate(CQLTest.java:649) > > testAttribute(org.geotools.filter.text.cql2.CQLTest) Time elapsed: 0 > sec <<< ERROR! > java.lang.NullPointerException > at > org.geotools.filter.text.cql2.CQLCompiler.buildObject(CQLCompiler.java:345) > at > org.geotools.filter.text.cql2.CQLCompiler.jjtreeCloseNodeScope(CQLCompiler. >java:134) at > org.geotools.filter.text.cql2.CQLParser.CharacterPattern(CQLParser.java:171 >9) at > org.geotools.filter.text.cql2.CQLParser.TextPredicate(CQLParser.java:1678) > at org.geotools.filter.text.cql2.CQLParser.Predicate(CQLParser.java:302) > at > org.geotools.filter.text.cql2.CQLParser.BooleanPrimary(CQLParser.java:267) > at > org.geotools.filter.text.cql2.CQLParser.BooleanFactor(CQLParser.java:220) > at > org.geotools.filter.text.cql2.CQLParser.BooleanTerm(CQLParser.java:177) > at > org.geotools.filter.text.cql2.CQLParser.BooleanValueExpression(CQLParser.ja >va:130) at > org.geotools.filter.text.cql2.CQLParser.SearchCondition(CQLParser.java:99) > at > org.geotools.filter.text.cql2.CQLParser.CompilationUnit(CQLParser.java:72) > at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:136) > at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:107) > at org.geotools.filter.text.cql2.CQLTest.testAttribute(CQLTest.java:751) > at org.geotools.filter.text.cql2.CQLTest.testAttribute(CQLTest.java:734) > > > > Cheers > Andrea -- Mauricio Pazos www.axios.es tel-:+34 94 441 63 84 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
