Re: Internal Compiler Error / Xerces

2013-08-21 Thread Ronan Quillevere
As said by DP,

I had to add the following to my pom.cml to make it work

dependency
groupIdxerces/groupId
artifactIdxercesImpl/artifactId
version2.11.0/version
/dependency
dependency
groupIdxml-apis/groupId
artifactIdxml-apis/artifactId
version1.4.01/version
/dependency

On Friday, April 19, 2013 9:25:19 PM UTC+2, DP wrote:

 I had similar problem.  I resolved it by adding xercesImpl artifact to my 
 Maven pom.xml

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Internal Compiler Error / Xerces

2013-04-19 Thread DP
I had similar problem.  I resolved it by adding xercesImpl artifact to my 
Maven pom.xml

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Internal Compiler Error / Xerces

2011-07-15 Thread dreamer
Hi,

Did you see more in stack trace beyond line 81 ? There must be some
thing Caused by.

= Abstract method error - as per javadoc
 Thrown when an application tries to call an abstract method

Yes this incompatibility between jars and some time jvm or simply non
implemented abstract method
I had many such when I moved from jdk5 to 6 for jaxws, I had to
discard old versions of jaxws.

I would pull all code and clean and recompile

Venu
http://schoolk12.appspot.com/

On Jul 14, 8:56 am, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
 I think is a classpath issue. You have more than a SAX Parser in your
 classpath and this is the problem. I have a similar problem and resolve (in
 maven, not in eclipse). See this
 threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/threa...

 2011/7/14 Jörn Gersdorf joern.gersd...@gmail.com







  Hi all,

  we have a GWT project which is suddenly not compiling anymore but
  failing with an INternal Compiler error at

  com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB 
  uilder.java:
  128).

  This happens since a collegue of mine has made some changes
  (unfortunately he's two weeks on vacation so I can't ask him what
  could have caused the problem). I experienced the problem with GWT 2.2
  and also the same error after upgrading to 2.3. I'm compiling using
  the GWT plugin in Eclipse.

  I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
  2.3.0.r36v201105191508
  com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
  Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
  com.google.gdt.eclipse.suite.e36.feature.feature.group.

  I appreciate any help on this. Thank you very much.

  Kind regards,
  Jörn

  The error is as follows:

                [WARN] Configuration property
  UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
  is off, leaving your users more vulnerable to cross-site scripting
  attacks. This property will default to true in future releases of GWT.
    [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
  LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
  view/mqcrud/MQCrudView.java'
       [ERROR]  Internal compiler error
  java.lang.AbstractMethodError:
  org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
  String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
  Object;
         at

  com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB 
  uilder.java:
  128)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
  Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
  Source)
         at
  org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
  Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl
  $NSContentDispatcher.scanRootElementHook(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
  $FragmentContentDispatcher.dispatch(Unknown Source)
         at
  org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
  Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
  Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
  Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at
  com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
  64)
         at

  com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerato 
  r.java:
  178)
         at

  com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGener 
  ator.java:
  148)
         at

  com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator 
  .java:
  126)
         at

  com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.ja 
  va:
  48)
         at

  com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(Generator 
  ExtWrapper.java:
  60)
         at

  com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally 
  (StandardGeneratorContext.java:
  681)
         at
  com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
  41)
         at com.google.gwt.dev.shell.StandardRebindOracle
  $Rebinder.rebind(StandardRebindOracle.java:74)
         at

  com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j 
  ava:
  285)
         at

  com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j 
  ava:
  274)
         at

  com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAns 
  wers(DistillerRebindPermutationOracle.java:
  91)
         at

  com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe 
  binds(WebModeCompilerFrontEnd.java:
  106)
         at 

Re: Internal Compiler Error / Xerces

2011-07-15 Thread Jörn Gersdorf
Hi all,

thank you for your hints. I throw out the EAR-Lib path from the project's
classpath (where JBoss' XercesImpl.jar was in) and now I'm down to a
different error.

My current problem is that the GWT compiler started from the Google Eclipse
Plugin seems to use the project's classpath. Now in that classpath there is
no XML processor in, but in a project that's referenced by my project. Even
though that project does not export the Oracle's parser jar it seems to be
on the GWT compiler's class path.

Does anyone know where I can set/edit the Google Compiler's execution
classpath?

Thanks again!

Kind regards,
Jörn

On Fri, Jul 15, 2011 at 2:35 PM, dreamer venugopal.vasire...@gmail.comwrote:

 Hi,

 Did you see more in stack trace beyond line 81 ? There must be some
 thing Caused by.

 = Abstract method error - as per javadoc
 Thrown when an application tries to call an abstract method

 Yes this incompatibility between jars and some time jvm or simply non
 implemented abstract method
 I had many such when I moved from jdk5 to 6 for jaxws, I had to
 discard old versions of jaxws.

 I would pull all code and clean and recompile

 Venu
 http://schoolk12.appspot.com/

 On Jul 14, 8:56 am, Juan Pablo Gardella gardellajuanpa...@gmail.com
 wrote:
  I think is a classpath issue. You have more than a SAX Parser in your
  classpath and this is the problem. I have a similar problem and resolve
 (in
  maven, not in eclipse). See this
  thread
 http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
 
  2011/7/14 Jörn Gersdorf joern.gersd...@gmail.com
 
 
 
 
 
 
 
   Hi all,
 
   we have a GWT project which is suddenly not compiling anymore but
   failing with an INternal Compiler error at
 
  
 com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB
 uilder.java:
   128).
 
   This happens since a collegue of mine has made some changes
   (unfortunately he's two weeks on vacation so I can't ask him what
   could have caused the problem). I experienced the problem with GWT 2.2
   and also the same error after upgrading to 2.3. I'm compiling using
   the GWT plugin in Eclipse.
 
   I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
   2.3.0.r36v201105191508
   com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
   Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
   com.google.gdt.eclipse.suite.e36.feature.feature.group.
 
   I appreciate any help on this. Thank you very much.
 
   Kind regards,
   Jörn
 
   The error is as follows:
 
 [WARN] Configuration property
   UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
   is off, leaving your users more vulnerable to cross-site scripting
   attacks. This property will default to true in future releases of GWT.
 [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
   LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
   view/mqcrud/MQCrudView.java'
[ERROR]  Internal compiler error
   java.lang.AbstractMethodError:
   org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
   String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
   Object;
  at
 
  
 com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB
 uilder.java:
   128)
  at
 org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
   Source)
  at
 org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
   Source)
  at
  
 org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
   Source)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl
   $NSContentDispatcher.scanRootElementHook(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
   $FragmentContentDispatcher.dispatch(Unknown Source)
  at
  
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
   Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
   Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
   Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
 Source)
  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
  at
  
 com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
   64)
  at
 
  
 com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerato
 r.java:
   178)
  at
 
  
 com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGener
 ator.java:
   148)
  at
 
  
 com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator
 .java:
   126)
  at
 
  
 com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.ja
 va:
   48)
  at
 
  
 com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(Generator
 ExtWrapper.java:
   60)
  at
 
  
 

Internal Compiler Error / Xerces

2011-07-14 Thread Jörn Gersdorf
Hi all,

we have a GWT project which is suddenly not compiling anymore but
failing with an INternal Compiler error at
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
128).

This happens since a collegue of mine has made some changes
(unfortunately he's two weeks on vacation so I can't ask him what
could have caused the problem). I experienced the problem with GWT 2.2
and also the same error after upgrading to 2.3. I'm compiling using
the GWT plugin in Eclipse.

I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
2.3.0.r36v201105191508
com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
com.google.gdt.eclipse.suite.e36.feature.feature.group.

I appreciate any help on this. Thank you very much.

Kind regards,
Jörn

The error is as follows:

   [WARN] Configuration property
UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
is off, leaving your users more vulnerable to cross-site scripting
attacks. This property will default to true in future releases of GWT.
   [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
view/mqcrud/MQCrudView.java'
  [ERROR]  Internal compiler error
java.lang.AbstractMethodError:
org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
Object;
at
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
128)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl
$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at
com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
64)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:
178)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:
148)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:
126)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
681)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
285)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
274)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
91)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:251)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:170)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:285)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
$400(AbstractCompiler.java:139)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
587)
at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
124)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
54)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
525)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
35)
at 

Re: Internal Compiler Error / Xerces

2011-07-14 Thread Juan Pablo Gardella
I think is a classpath issue. You have more than a SAX Parser in your
classpath and this is the problem. I have a similar problem and resolve (in
maven, not in eclipse). See this
threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/4645c2e495492306

2011/7/14 Jörn Gersdorf joern.gersd...@gmail.com

 Hi all,

 we have a GWT project which is suddenly not compiling anymore but
 failing with an INternal Compiler error at

 com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
 128).

 This happens since a collegue of mine has made some changes
 (unfortunately he's two weeks on vacation so I can't ask him what
 could have caused the problem). I experienced the problem with GWT 2.2
 and also the same error after upgrading to 2.3. I'm compiling using
 the GWT plugin in Eclipse.

 I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
 2.3.0.r36v201105191508
 com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
 Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
 com.google.gdt.eclipse.suite.e36.feature.feature.group.

 I appreciate any help on this. Thank you very much.

 Kind regards,
 Jörn

 The error is as follows:

   [WARN] Configuration property
 UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
 is off, leaving your users more vulnerable to cross-site scripting
 attacks. This property will default to true in future releases of GWT.
   [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
 LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
 view/mqcrud/MQCrudView.java'
  [ERROR]  Internal compiler error
 java.lang.AbstractMethodError:
 org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
 String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
 Object;
at

 com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
 128)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
 Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
 Source)
at
 org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl
 $NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
 $FragmentContentDispatcher.dispatch(Unknown Source)
at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
 Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
 Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at
 com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
 64)
at

 com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:
 178)
at

 com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:
 148)
at

 com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:
 126)
at

 com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
 48)
at

 com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
 60)
at

 com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
 681)
at
 com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
 41)
at com.google.gwt.dev.shell.StandardRebindOracle
 $Rebinder.rebind(StandardRebindOracle.java:74)
at

 com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
 285)
at

 com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
 274)
at

 com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
 91)
at

 com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
 106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.process(AbstractCompiler.java:251)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
 444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.compile(AbstractCompiler.java:170)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
 $CompilerImpl.compile(AbstractCompiler.java:285)
at
 com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
 $400(AbstractCompiler.java:139)
at
 com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
 587)
at