9 Replies Last post: Oct 2, 2007 11:43 AM by Jesper Sahner Pedersen  
Jesper Sahner Pedersen   102 posts since
Apr 24, 2006
Currently Being Moderated

May 9, 2006 5:57 PM

Problem with Node.isEqualNode()

Hi!

 

I want to use the Node.isEqualNode() method like e.g. (stupid example):

 

Node node=browser.getDocument();

boolean b=node.isEqualNode(node);

 

However the following error is returned:

java.lang.NullPointerException

        at $Proxy1.isEqualNode(Unknown Source)

        ...

Exception occured..

java.lang.AbstractMethodError: com.jniwrapper.win32.ie.dom.e.isEqualNode(Lorg/w3c/dom/Node;)Z

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at com.jniwrapper.win32.ie.dom.j.run(SourceFile:571)

        at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:531)

 

Any idea what causes this?

 

Regards,

Jesper

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
1. May 10, 2006 12:40 PM in response to: Jesper Sahner Pedersen
Re: Problem with Node.isEqualNode()

Hi Jesper,

 

The Node.isEqualNode() method is supported since JDK 5.x.

 

JExplorer builds under JDK 1.4 and therefore the Node.isEqualNode() method is not supported.

 

But we are planning to support JDK 5.x in the one of nearest version of JExplorer and this method will be also supported.

 

Vladimir

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
3. May 15, 2006 5:24 PM in response to: Jesper Sahner Pedersen
Re: Re: Re: Problem with Node.isEqualNode()

Hi Jesper,

 

We do not have a defined release date for JExplorer 1.7 but hopefully we'll release by the end of May.

 

Vladimir

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
6. Sep 10, 2007 5:40 PM in response to: Jesper Sahner Pedersen
Re: Re: Re: Problem with Node.isEqualNode()

Hello Jesper,

 

Such ability wasn't included into JExplorer 1.8. If you wish we can raise the priority of this task and send you JExplorer update when the feature will be completed.

 

Regards,

Vladimir

Vladimir Ikryanov TeamDev Ltd. 404 posts since
Apr 24, 2006
Currently Being Moderated
8. Sep 27, 2007 2:11 PM in response to: Jesper Sahner Pedersen
Re: Re: Re: Problem with Node.isEqualNode()

Hello Jepser,

 

I have added this method into JExplorer 1.8 update. You can download it from our ftp: ftp://ftp.teamdev.com/updates/jexplorer-1.8.743.zip

 

Please let me know if you will have any issues with the new functionality.

 

JExplorer at present supports only DOM Level 2, because it based on JDK 1.4. We are planing to add DOM Level 3 support and migrate the sources to JDK 5.0 in one of the next release.

 

Regards,

Vladimir

More Like This

  • Retrieving data ...