Results 1 to 2 of 2

Thread: themer skeleton-config broken in 3.1 beta

  1. #1
    Ext GWT Premium Member
    Join Date
    Feb 2011
    Posts
    20

    Default themer skeleton-config broken in 3.1 beta

    I run the command:

    Code:
    themer.sh -generateConfig skeleton-config.theme
    themer.sh skeleton-config.theme
    Then I get:

    Code:
    com.sencha.gxt.themebuilder.config.shared.WrongTypeException: String can't be used as an object (approx line: 360, approx column: 18, approx path: theme.details.grid.group.border)
    Code:
    border = "util.border('solid' '#000000', 0, 0, 1)"
    Thre are 2 problems with this line. First it's surrounded by quotes, plus the comma is missing after 'solid'. So the line should be (I believe:
    Code:
    border = util.border('solid', '#000000', 0, 0, 1)

    Then if I run the themer again, I get another error still, but I'm uncertain how to fix this one.

    Code:
    template generation startedtemplate generation complete
    image generation started
    generating icons
    notifyListeners
    image generation complete
    compile started
    bootstrap class path not set in conjunction with -source 1.6
    Error on line -1 in null
    compile complete
    capture started
    loading page /var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/index.html
    Thu Feb 27 11:43:42 GMT-600 2014 com.sencha.gxt.themebuilder.slicer.client.SliceTheme
    SEVERE: Fatal error trying to collect data on job com.sen[email protected]18bcom.google.gwt.core.client.JavaScriptException: (TypeError)
     line: 1508
     sourceId: 164402992
     sourceURL: file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html
     stack: TypeError: 'null' is not an object (evaluating 'a.offsetWidth')
        at Ff (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:1508)
        at xdb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3214)
        at ldb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3694)
        at yFb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3148)
        at kKb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3900)
        at mKb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:4144)
        at uAb (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:4141)
        at Zd (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3617)
        at Qd (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3040)
        at be (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:4135)
        at Xd (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:793)
        at xd (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:1759)
        at Bd (file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:3637)
        at file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:2963
        at file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:2962
        at file:///var/folders/xl/v8c052vj6ss2cllcz6v8b1jw0000gp/T/temp7443707848597164591.3/sliceme/D427495AA6BC2F298A6B3D5E4D0D1577.cache.html:2987
     stackArray: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
     __gwt$exception: <skipped>: 'null' is not an object (evaluating 'a.offsetWidth')
        at Unknown.TypeError: 'null' is not an object(@-1)
        at Unknown.Ff([email protected])
        at Unknown.xdb([email protected])
        at Unknown.ldb([email protected])
        at Unknown.yFb([email protected])
        at Unknown.kKb([email protected])
        at Unknown.mKb([email protected])
        at Unknown.uAb([email protected])
        at Unknown.Zd([email protected])
        at Unknown.Qd([email protected])
        at Unknown.be([email protected])
        at Unknown.Xd([email protected])
        at Unknown.xd([email protected])
        at Unknown.Bd([email protected])
        at Unknown.anonymous([email protected])
        at Unknown.anonymous([email protected])
        at Unknown.anonymous([email protected])
    
    
    failed to render widgets within 30 sec.
    
    
    error with capture
    java.lang.RuntimeException: Error with phantomJS:
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
        at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
        at com.sencha.gxt.themebuilder.ThemeSlicer.capture(ThemeSlicer.groovy:51)
        at com.sencha.gxt.themebuilder.ThemeSlicer$capture.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        at com.sencha.gxt.themebuilder.ThemeBuilder$_main_closure5.doCall(ThemeBuilder.groovy:109)
        at com.sencha.gxt.themebuilder.ThemeBuilder$_main_closure5.doCall(ThemeBuilder.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
        at com.sencha.gxt.themebuilder.ThemeBuilder$__clinit__closure8.doCall(ThemeBuilder.groovy:28)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:848)
        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:831)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:164)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeClosure(ScriptBytecodeAdapter.java:570)
        at com.sencha.gxt.themebuilder.ThemeBuilder.main(ThemeBuilder.groovy:107)

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737

    Default

    Yes, for the time being it cannot actually generate a real theme - there aren't enough non-useless values in there for it to actually generate Java/HTML/CSS for us. Instead, it mostly serves as a reference for what each property does.

    We will improve this for the final 3.1 release so that it generates something runnable, though as it is just filled with sample values I can promise it will be even uglier than what quick-start currently is .

    If memory serves (and your log seems to confirm) the particular issue is to do with some of the tab values. Try updating the tabpanel {...} settings to use reasonable values instead of all "" and 0, and this issue may be resolved.

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2015
    Posts
    1

    Default Issue in generating theme using gxt 4.0.3

    Hi,

    Please look into the below error.

    D:\Sencha\GenerateTheme\gxt-4.0.3-20170306\themebuilder\bin>themer.bat neptune.theme
    template generation started
    template generation complete
    image generation started
    generating icons
    Win version: 0x1db10106 = 498139398 (Windows Vista)
    image generation complete
    compile started
    compile complete
    capture started
    loading page C:/Users\vmurugan\AppData\Local\Temp\temp7056433542591690347.4/sliceme/index.html
    Failed to load page

    error with capture
    java.lang.RuntimeException: Error with phantomJS:
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
    at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorS
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:232)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:244)
    at com.sencha.gxt.themebuilder.ThemeSlicer.capture(ThemeSlicer.groovy:46)
    at com.sencha.gxt.themebuilder.ThemeSlicer$capture.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:114)
    at com.sencha.gxt.themebuilder.ThemeBuilder$_main_closure6.doCall(ThemeBuilder.groovy:121)
    at com.sencha.gxt.themebuilder.ThemeBuilder$_main_closure6.doCall(ThemeBuilder.groovy)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:114)
    at com.sencha.gxt.themebuilder.ThemeBuilder$__clinit__closure10.doCall(ThemeBuilder.groovy:23)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
    at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:914)
    at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:897)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:166)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeClosure(ScriptBytecodeAdapter.java:572)
    at com.sencha.gxt.themebuilder.ThemeBuilder.main(ThemeBuilder.groovy:119)

    Could you please provide the solution for this issue.

    Rergards,
    Vasanth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •