Results 1 to 7 of 7

Thread: GXT 4 neptune/triton theme compilation error

  1. #1
    Sencha User
    Join Date
    Dec 2015
    Posts
    6

    Default GXT 4 neptune/triton theme compilation error

    Hi!!
    I have the following compilation error when you set the neptune or triton theme:

    [WARN] Line 37: Setting configuration property named 'CssResource.gssDefaultInUiBinder' in module that has not been previously defined
    Compiling module
    Adding '1' new generated units
    See snapshot: /tmp/com.sencha.gxt.theme.neptune.client.base.panel.Css3FramedPanelAppearance_Css3FramedPanelResources_it_InlineClientBundleGenerator2463284032747866455.java
    Ignored 1 unit with compilation errors in first pass.
    Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    Tracing compile failure path for type 'com.sencha.gxt.theme.neptune.client.base.panel.Css3FramedPanelAppearance_Css3FramedPanelResources_it_InlineClientBundleGenerator'
    [ERROR] Errors in 'generated://201B4125F65D8F97FDFB0DDE24951A37/com/sencha/gxt/theme/neptune/client/base/panel/Css3FramedPanelAppearance_Css3FramedPanelResources_it_InlineClientBundleGenerator.java'
    [ERROR] Line 32: The method framePaddingCalc(int, int) is undefined for the type CssResourceThemeUtils
    [ERROR] Hint: Check that the type name 'com.sencha.gxt.theme.neptune.client.base.panel.Css3FramedPanelAppearance_Css3FramedPanelResources_it_InlineClientBundleGenerator' is really what you meant
    [ERROR] Hint: Check that your classpath includes all required source roots
    [ERROR] Errors in 'com/sencha/gxt/theme/neptune/client/base/panel/Css3FramedPanelAppearance.java'
    [ERROR] Line 91: Rebind result 'com.sencha.gxt.theme.neptune.client.base.panel.Css3FramedPanelAppearance_Css3FramedPanelResources_it_InlineClientBundleGenerator' could not be found
    Adding '1' new generated units
    See snapshot: /tmp/com.sencha.gxt.theme.neptune.client.base.window.Css3WindowAppearance_Css3WindowResources_it_InlineClientBundleGenerator969594691475226628.java
    Ignored 1 unit with compilation errors in first pass.
    Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    Tracing compile failure path for type 'com.sencha.gxt.theme.neptune.client.base.window.Css3WindowAppearance_Css3WindowResources_it_InlineClientBundleGenerator'
    [ERROR] Errors in 'generated://BA8EA24C84E1710D65FCB7609D3881E5/com/sencha/gxt/theme/neptune/client/base/window/Css3WindowAppearance_Css3WindowResources_it_InlineClientBundleGenerator.java'
    [ERROR] Line 32: The method framePaddingCalc(int, int) is undefined for the type CssResourceThemeUtils
    [ERROR] Hint: Check that the type name 'com.sencha.gxt.theme.neptune.client.base.window.Css3WindowAppearance_Css3WindowResources_it_InlineClientBundleGenerator' is really what you meant
    [ERROR] Hint: Check that your classpath includes all required source roots
    [ERROR] Errors in 'com/sencha/gxt/theme/neptune/client/base/window/Css3WindowAppearance.java'
    [ERROR] Line 62: Rebind result 'com.sencha.gxt.theme.neptune.client.base.window.Css3WindowAppearance_Css3WindowResources_it_InlineClientBundleGenerator' could not be found?

    My config is
    GXT 4.0 trial
    GWT 2.7
    Neptunethme.jar in classpath

    My module is

    Code:
    <inherits name="com.google.gwt.user.User" />    <inherits name="com.google.gwt.inject.Inject" />
        <inherits name='com.sencha.gxt.ui.GXT' />
    
    
        <!-- Other module inherits -->
        <inherits name="com.google.gwt.logging.Logging" />
        <inherits name="com.google.gwt.i18n.I18N" />
        <inherits name="com.google.gwt.editor.Editor" />
        <inherits name="org.hibernate.validator.HibernateValidator" />
        <inherits name="com.google.gwt.resources.Resources" />
        
        <!-- set-property -->
        <set-property name="gwt.logging.simpleRemoteHandler"
            value="ENABLED" />
        <set-property name="gwt.logging.logLevel" value="ALL" />
        <!-- <set-property name="gwt.logging.logLevel" value="WARNING" /> -->
        <!-- <set-property name="gwt.logging.logLevel" value="SEVERE" /> -->
        <set-property name="gwt.logging.enabled" value="TRUE" />
        <set-property name="gwt.logging.consoleHandler" value="ENABLED" />
        <extend-property name="locale" values="it" />
        <set-property name="locale" value="it" />
    
    
        <stylesheet src="reset.css" />
        <!-- Style sheets. -->
        <inherits name="com.sencha.gxt.theme.neptune.Theme" />    
        
        
        <collapse-all-properties />
    
    
        <source path="client" />
        <source path="shared" />
        
        <set-configuration-property name="CssResource.legacy" value="true" />
        <set-configuration-property name="CssResource.enableGss" value="true" />
        <set-configuration-property name="CssResource.conversionMode" value="strict" />??
        <set-property name="gxt.css3.enabled" value="true" />
    
    
        <entry-point class="MyEntryPoint"></entry-point>
    
    
        <set-configuration-property name="CssResource.style"
            value="pretty" />
    
    
        <replace-with class="MyValidatorFactory">
            <when-type-is class="javax.validation.ValidatorFactory" />
        </replace-with>
    
    
        <replace-with class="MyValidationMessagesResolver">
            <when-type-is
                class="com.google.gwt.validation.client.UserValidationMessagesResolver" />
        </replace-with>?

  2. #2
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167
    Answers
    12

    Default

    At my first glance, I notice GWT 2.0. GWT 2.0 isn't supported. Can you try it with GWT 2.7.0?

    If you're already using a GWT 2.7, then verify that the neptune theme jar is on the classpath? Is the neptune theme jar on the classpath?

  3. #3
    Sencha User
    Join Date
    Dec 2015
    Posts
    6

    Default

    Neptunethme jar is in the classpath . i use gwt 2.7

  4. #4
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167
    Answers
    12

    Default

    Maybe there is some gss in the CssResources in UiBinder.

    try adding this to the gwt module too.
    Code:
    <set-configuration-property name="CssResource.gssDefaultInUiBinder" value="true" />
    Does that help?

  5. #5
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167
    Answers
    12

    Default

    I can't replicate that issue. I'm not sure what is causing the exceptions to throw at the moment.

    I'm going to have to ask for more information to help drill the issue. Could you provide a test case project that replicates the issue? What DevMode are you using? Does this happen when you compile it?

    From the exceptions, it looks like a classpath issue. Like its not using the latest module configuration or something is cached. Could you make sure that all the cached files are erased and try reloading.

  6. #6
    Sencha User
    Join Date
    Dec 2015
    Posts
    6

    Default

    I solved the problem by cleaning the cache.
    Thank you!!

  7. #7
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,167
    Answers
    12

    Default

    Nice job! You're welcome and thanks for the feedback.

Similar Threads

  1. Replies: 2
    Last Post: 15 Oct 2015, 2:53 PM
  2. I only get this error if using Neptune theme, not classic
    By blomasky in forum Sencha Architect 3.x: Q&A
    Replies: 3
    Last Post: 2 Jan 2014, 8:04 AM
  3. [FIXED] Neptune Theme Error
    By hnordt in forum Ext:Bugs
    Replies: 4
    Last Post: 19 Mar 2013, 12:29 AM

Tags for this Thread

Posting Permissions

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