Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > java.lang.VerifyError : DOMParser & WSAD

Thread Tools

java.lang.VerifyError : DOMParser & WSAD

Posts: n/a
im using WSAD 5.0 when i try to execute this :

public static void main(String[] args) {

myHash = new Hashtable();

try {

String strHtmlFile = "C:\\test.html";

input = new FileInputStream(strHtmlFile);
DOMParser parser = new DOMParser();

parser.parse(new InputSource(input));
doc = parser.getDocument();

} catch (Exception se) {
System.out.println("CLASS" +se.getClass() +"MSG"+se.getMessage());

I have this error msg :

java.lang.VerifyError: (class:
fr/stime/dsi/pilotages/ipsoaop/service/ScreenGenerator, method: main
signature: ([Ljava/lang/StringV) Incompatible object argument for
method call
Exception in thread "main"

any suggestions??
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DOMParser memory leaks Java 2 02-28-2008 07:07 AM
Java's DOMParser and .NET's XMLDocument =?Utf-8?B?Q2FybGl0b3M=?= ASP .Net 1 03-05-2005 10:52 AM
Unwanted HTML tags inserted when using DOMParser (Java) Java 0 01-14-2005 10:56 PM
Xerces DOMParser and CDATA sections John Smith XML 0 09-01-2004 04:39 PM
parsing XML with DOMParser Yang Xiao XML 0 04-29-2004 04:17 AM