digideskio / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

Error if i compile an SlideBar #359

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of gwt and gwt-incubator are you using?
gwt 2.0.3 incubator 2.0.1

What OS and browser are you using?
Win 7 and IE 8

Do you see this error in hosted mode, web mode, or both?
if i compile 

Loading inherited module 'com.google.gwt.widgetideas.LibIdeas'
   [ERROR] Unable to find 'com/google/gwt/widgetideas/LibIdeas.gwt.xml' on 
your classpath; could be a typo, or maybe you forgot to include a 
classpath entry for source?
[ERROR] Line 8: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:239)
    at 
com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin
(ModuleDefSchema.java:354)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
(HandlerMethod.java:223)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
(ReflectiveParser.java:270)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyE
lement(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
StartElement(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Frag
mentContentDriver.next(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
Document(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
    at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
(Unknown Source)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
(ReflectiveParser.java:327)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
(ReflectiveParser.java:48)
    at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:398)
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:257)
    at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:169)
    at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:283)
    at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:141)
    at com.google.gwt.dev.Compiler.run(Compiler.java:184)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
    at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:159)
[ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
    at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException
(DefaultSchema.java:56)
    at com.google.gwt.dev.util.xml.Schema.onHandlerException
(Schema.java:66)
    at com.google.gwt.dev.util.xml.Schema.onHandlerException
(Schema.java:66)
    at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
(HandlerMethod.java:233)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
(ReflectiveParser.java:270)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyE
lement(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
StartElement(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Frag
mentContentDriver.next(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
Document(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(Unknown Source)
    at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
    at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
(Unknown Source)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
(ReflectiveParser.java:327)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
(ReflectiveParser.java:48)
    at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:398)
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:257)
    at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:169)
    at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:283)
    at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:141)
    at com.google.gwt.dev.Compiler.run(Compiler.java:184)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
    at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:159)
[ERROR] Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
entries)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
(ReflectiveParser.java:351)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
(ReflectiveParser.java:48)
    at com.google.gwt.dev.util.xml.ReflectiveParser.parse
(ReflectiveParser.java:398)
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
(ModuleDefLoader.java:257)
    at com.google.gwt.dev.cfg.ModuleDefLoader$1.load
(ModuleDefLoader.java:169)
    at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
(ModuleDefLoader.java:283)
    at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
(ModuleDefLoader.java:141)
    at com.google.gwt.dev.Compiler.run(Compiler.java:184)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
    at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:159)

Hopefully using the test case you have generously provided, what steps 
will reproduce the problem? 
1.
2.
3.

What is the expected output? What do you see instead?

Workaround if you have one:

Please provide any additional information below,  and thank you for taking 
the time and effort to report this issue, as good issue reports are 
critical for our quest to make GWT's new widgets and libraries shine.

Original issue reported on code.google.com by DMeier.F...@googlemail.com on 25 May 2010 at 10:27

GoogleCodeExporter commented 8 years ago
Have you tried definig the inheritance in the gwt.xml file as 
"com.google.gwt.libideas.LibIdeas".
This works for me

Original comment by iagoto...@gmail.com on 30 Jun 2010 at 12:56