NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 949 - Exception thrown by table-checker code only under Java7
Exception thrown by table-checker code only under Java7
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: Non-schema checkers
HEAD
All All
: P2 normal
Assigned To: Nobody
: 948 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-20 10:09 CET by Michael[tm] Smith
Modified: 2013-07-01 16:12 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2012-11-20 10:09:25 CET
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

When running "build/build.py test" in that Java environment,  the following exception in thrown when checking file syntax/relaxng/tests/tables/valid/004.xhtml 

Exception in thread "main" java.lang.IllegalStateException: Two cells in effect cannot start on the same column, so this should never happen!
        at org.whattf.checker.table.VerticalCellComparator.compare(VerticalCellComparator.java:53)
        at org.whattf.checker.table.VerticalCellComparator.compare(VerticalCellComparator.java:34)
        at java.util.TreeMap.compare(TreeMap.java:1188)
        at java.util.TreeMap.put(TreeMap.java:531)
        at java.util.TreeSet.add(TreeSet.java:255)
        at org.whattf.checker.table.RowGroup.cell(RowGroup.java:100)
        at org.whattf.checker.table.Table.startCell(Table.java:334)
        at org.whattf.checker.table.TableChecker.startElement(TableChecker.java:100)
        at com.thaiopensource.xml.sax.ForkContentHandler.startElement(Unknown Source)
        at com.thaiopensource.xml.sax.ForkContentHandler.startElement(Unknown Source)
        at com.thaiopensource.xml.sax.ForkContentHandler.startElement(Unknown Source)
        at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
        at nu.validator.xml.IdFilter.startElement(IdFilter.java:120)
        at nu.validator.gnu.xml.aelfred2.SAXDriver.startElement(SAXDriver.java:1023)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1332)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1515)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1333)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1515)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1333)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1515)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1333)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1515)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1333)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseContent(XmlParser.java:1515)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseElement(XmlParser.java:1333)
        at nu.validator.gnu.xml.aelfred2.XmlParser.parseDocument(XmlParser.java:617)
        at nu.validator.gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:512)
        at nu.validator.gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:425)
        at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
        at org.whattf.syntax.Driver.checkFile(Driver.java:144)
        at org.whattf.syntax.Driver.checkValidFiles(Driver.java:162)
        at org.whattf.syntax.Driver.checkDirectory(Driver.java:216)
        at org.whattf.syntax.Driver.check(Driver.java:276)
        at org.whattf.syntax.Driver.main(Driver.java:298)
Comment 1 Michael[tm] Smith 2012-11-20 10:09:59 CET
*** Bug 948 has been marked as a duplicate of this bug. ***
Comment 2 Michael[tm] Smith 2013-07-01 16:12:28 CEST
Fixed a while back