Hi,

as for my versions:
I receive the AbstractMethodError when working with
* Java 1.5.0
* Xerces 2.9.1 (that is, xercesImpl.jar and xml-apis.jar in version 2.9.1)
OR the Xerces version supplied with Woden (2.7.1, I assume)
* XmlSchema 1.4.2 (either shipped with woden OR downloaded seperately)

As IDE, I am using eclipse on Windows.

However, the Java-Version I used was contained in a bundle with Repast
Simphony 1.0 (agent-based simulation framework) - so I might have used a
somehow 'special' Java version. 
To check whether the j2se 1.5.0 I used was corrupted, I installed a standard
j2se 1.5.0u16 on my machine and retried. The result: I still get the error
with a standard 1.5.0u16 java (no matter what xerces version I use).

I tried to track down the interface.getInputEncoding and
impl.getUnputEncoding issue - but I could not find out anything so far...

Any further hints?

Stefan

It is kinda related to ws-schema / XmlSchema - the getInputEncoding
method in the stack trace tries to cope with whether the DOM
interfaces and implementation have the Document.getInputEncoding
method or not. If it can create a Method object for that it invokes
it. But if the implementation doesn't have it and the interface does
then the AbstractMethodError will get thrown. That seems to be the
most likely reason to me anyway. Which suggests the DOM impl is out of
sync with the interface.

Jeremy

2008/8/5 Jeff MAURY <[EMAIL PROTECTED]>:
> Maybe it is related to the Xerces version because I was able to execute
> all
> Woden test on a 1.5 JDK. It seems to be related to ws-schema.
>
> Jeff MAURY
>
> On Tue, Aug 5, 2008 at 11:44 AM, Jeremy Hughes <[EMAIL PROTECTED]> wrote:
>>
>> I'm glad that fixed it, but woden should be working with Java 5 too. I
>> haven't reproduced your problem, but my guess is that the
>> AbstractMethodError is caused because the getInputEncoding() method is
>> there in the Document interface but the implementation of it,
>> DeferredDocumentImpl doesn't have the method. Who's implementation of
>> j2se 1.5.0 were you using and on what platform when you found the
>> problem?
>>
>> Thanks,
>> Jeremy
(...)
-- 
View this message in context: 
http://www.nabble.com/java.lang.AbstractMethodError-when-reading-a-WSDL-file-tp18810660p18839462.html
Sent from the Woden - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to