You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2010/10/04 15:19:32 UTC
[jira] Created: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
-------------------------------------------------------------------------------------
Key: LUCENE-2685
URL: https://issues.apache.org/jira/browse/LUCENE-2685
Project: Lucene - Java
Issue Type: Bug
Components: contrib/*
Affects Versions: 4.0
Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
Reporter: Steven Rowe
Priority: Minor
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
[junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
[junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
[junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
[junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
[junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
[junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
[junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
[junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
[junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
[junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
...
[junit] ERROR: 'Instruction unknown: load?nstruction'
[junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917596#action_12917596 ]
Robert Muir commented on LUCENE-2685:
-------------------------------------
The bug is specific to Sun's java 5 JRE. (i installed 1.5.0_22 and it still fails).
Its no problem on apache harmony java 5 or sun java 6...
> Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-2685
> URL: https://issues.apache.org/jira/browse/LUCENE-2685
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 4.0
> Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
> Reporter: Steven Rowe
> Priority: Minor
>
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
> [junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
> [junit] ------------- ---------------- ---------------
> [junit] ------------- Standard Error -----------------
> [junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
> [junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
> ...
> [junit] ERROR: 'Instruction unknown: load?nstruction'
> [junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917607#action_12917607 ]
Robert Muir commented on LUCENE-2685:
-------------------------------------
I agree, bad that the bug originated from apache code code though :(
I will commit the assumeTrue to 3.x and trunk shortly
> Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-2685
> URL: https://issues.apache.org/jira/browse/LUCENE-2685
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 4.0
> Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
> Reporter: Steven Rowe
> Priority: Minor
> Attachments: LUCENE-2685.patch
>
>
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
> [junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
> [junit] ------------- ---------------- ---------------
> [junit] ------------- Standard Error -----------------
> [junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
> [junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
> ...
> [junit] ERROR: 'Instruction unknown: load?nstruction'
> [junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917621#action_12917621 ]
Robert Muir commented on LUCENE-2685:
-------------------------------------
I committed the test workaround to trunk/3x (revisions 1004241, 1004244).
Uwe, maybe you can add some user workarounds to contrib/CHANGES.txt ?
> Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-2685
> URL: https://issues.apache.org/jira/browse/LUCENE-2685
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 4.0
> Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
> Reporter: Steven Rowe
> Priority: Minor
> Attachments: LUCENE-2685.patch
>
>
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
> [junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
> [junit] ------------- ---------------- ---------------
> [junit] ------------- Standard Error -----------------
> [junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
> [junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
> ...
> [junit] ERROR: 'Instruction unknown: load?nstruction'
> [junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917604#action_12917604 ]
Uwe Schindler commented on LUCENE-2685:
---------------------------------------
Very old bug, well known for the bytecode policeman :-)
We cannot do anything against that, only disable the test. Stupid default locale for toLowerCase(). Sun should deprecate all methods assuming default locales or charsets.
> Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-2685
> URL: https://issues.apache.org/jira/browse/LUCENE-2685
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 4.0
> Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
> Reporter: Steven Rowe
> Priority: Minor
> Attachments: LUCENE-2685.patch
>
>
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
> [junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
> [junit] ------------- ---------------- ---------------
> [junit] ------------- Standard Error -----------------
> [junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
> [junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
> ...
> [junit] ERROR: 'Instruction unknown: load?nstruction'
> [junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2685) Test failure:
contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-2685:
--------------------------------
Attachment: LUCENE-2685.patch
Here's a patch adding an assumeTrue() for the broken sun jre versions,
since they are all affected by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963
> Test failure: contrib/xml-query-parser: TestQueryTemplateManager.testFormTransforms()
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-2685
> URL: https://issues.apache.org/jira/browse/LUCENE-2685
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 4.0
> Environment: Windows Vista 64-bit, Sun JDK 1.5.0_13 64-bit
> Reporter: Steven Rowe
> Priority: Minor
> Attachments: LUCENE-2685.patch
>
>
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.031 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestQueryTemplateManager -Dtestmethod=testFormTransforms -Dtests.seed=-3178590569335578120:-7726718235997875276
> [junit] NOTE: test params are: codec=SimpleText, locale=tr_TR, timezone=America/Rainy_River
> [junit] ------------- ---------------- ---------------
> [junit] ------------- Standard Error -----------------
> [junit] java.lang.RuntimeException: Instruction unknown: load?nstruction
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
> [junit] at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
> [junit] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:797)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.getTemplates(QueryTemplateManager.java:208)
> [junit] at org.apache.lucene.xmlparser.QueryTemplateManager.addQueryTemplate(QueryTemplateManager.java:75)
> [junit] at org.apache.lucene.xmlparser.TestQueryTemplateManager.testFormTransforms(TestQueryTemplateManager.java:74)
> ...
> [junit] ERROR: 'Instruction unknown: load?nstruction'
> [junit] FATAL ERROR: 'Could not compile stylesheet'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org