avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21106] New: - IllegalArgumentException in Extension.getSpecificationVersion()
Date Thu, 26 Jun 2003 11:34:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21106

IllegalArgumentException in Extension.getSpecificationVersion()

           Summary: IllegalArgumentException in
                    Extension.getSpecificationVersion()
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Excalibur
        AssignedTo: dev@avalon.apache.org
        ReportedBy: alex.harbers@akzonobel.com


When I include dom.jar and sax.jar in my Phoenix application I get 
IllegalArgumentException during startup. This is because the Extension class 
tries to convert the Specification-Version in the manifest to a DeweyDecimal. 

Why not leave it a String?

dom.jar and sax.jar originate from the Xerces project.

Part of the stackttrace:
java.lang.IllegalArgumentException: Bad specification version format 'DOM 
Level 2' in 'org.w3c.dom'. (Reason: java.lang.NumberFormatException: For input 
string: "DOM Level 2")
at org.apache.avalon.excalibur.extension.Extension.<init>(Extension.java:402)
at org.apache.avalon.excalibur.extension.Extension.getExtension
(Extension.java:743)
at org.apache.avalon.excalibur.extension.Extension.getAvailable
(Extension.java:199)
at org.apache.avalon.excalibur.extension.Extension.getAvailable
(Extension.java:236)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message