google-code-export / crux-framework

Automatically exported from code.google.com/p/crux-framework
0 stars 0 forks source link

Error when using inherit image resource #580

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Use an image resource URL from a parent interface causes this error:

Caused by: org.cruxframework.crux.core.rebind.CruxGeneratorException: Resource 
[siteResources] , declared on view [home], has an invalid expression 
[iconFacebook]
at 
org.cruxframework.crux.core.rebind.screen.widget.ViewFactoryCreator.getResourceA
ccessExpression(ViewFactoryCreator.java:601)
at 
org.cruxframework.crux.core.rebind.screen.widget.WidgetCreator.getResourceAccess
Expression(WidgetCreator.java:451)
at 
org.cruxframework.crux.widgets.rebind.image.ImageFactory$URLAttributeParser.proc
essAttribute(ImageFactory.java:58)
at 
org.cruxframework.crux.core.rebind.screen.widget.AttributeProcessor.processAttri
buteInternal(AttributeProcessor.java:65)
... 132 more
Caused by: java.lang.NoSuchFieldException: iconFacebook
at 
org.cruxframework.crux.core.utils.JClassUtils.buildGetValueExpression(JClassUtil
s.java:101)
at 
org.cruxframework.crux.core.rebind.screen.widget.ViewFactoryCreator.getResourceA
ccessExpression(ViewFactoryCreator.java:597)
... 135 more
   [ERROR] Errors in 
'org/cruxframework/crux/core/client/screen/views/ViewContainer.java'
      [ERROR] Line 197: Failed to resolve 
'org.cruxframework.crux.core.client.screen.views.ViewFactory' via deferred 
binding
   [WARN] For the following type(s), generated source was never committed 
(did you forget to call commit()?)
      [WARN] 
org.cruxframework.crux.core.client.screen.views.ViewFactory_Impl_largeDisplayMou
se
      [WARN] 
org.cruxframework.crux.core.client.screen.views.home_largeDisplayMouse
[ERROR] Compiler returned false
[WARN] continuing to serve previous version

Original issue reported on code.google.com by alexandr...@triggolabs.com on 11 Dec 2014 at 9:59

GoogleCodeExporter commented 9 years ago
Revision r5915

Original comment by thi...@cruxframework.org on 11 Feb 2015 at 3:40