You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2003/06/26 13:34:43 UTC

DO NOT REPLY [Bug 21106] New: - IllegalArgumentException in Extension.getSpecificationVersion()

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