1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    diego.matos is on a distinguished road

      0  

    Default Unanswered: HtmlEditor generating Javascript error

    Unanswered: HtmlEditor generating Javascript error


    Hello, I'm trying to open a page with a com.sencha.gxt.widget.core.client.form.HtmlEditor component in it, but only works in hosted/devmode, in normal mode (not devmode) the page does not render and I get the following error in firebug:

    uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) fileName: http://localhost:8080/arteweb/main/1...579.cache.html
    stack: N$@http://localhost:8080/arteweb
    .
    .
    .
    .
    /main/190427AE9E8766DE7D19CD4CE78CF579.cache.html:12759 @http://localhost:8080/arteweb/main/190427AE9E8766DE7D19CD4CE78CF579.cache.html:9925 lineNumber: 12759: can't convert null to object

    [IMG]chrome://firebug/content/blank.gif[/IMG] function Vfd(){try{null.a()}catch(a){return a}}
    I can't figure out why this happens. Could anyone help me with this?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Without being able to reproduce it, it is really hard to help. Can you make the app public? If so, compile with style=PRETTY for easier debugging. If not, can you reduce this to a simpler example and share the source?

    Can you reproduce this on the public examples of HtmlEditor? http://www.sencha.com/examples/#Exam...:advancedforms

    Which version are you using?

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    diego.matos is on a distinguished road

      0  

    Default


    Hello Colin, I thank you for your answer but even trying to compile with style=PRETTY the javascript code generated is still too strange to understand. Maybe there's some cache but I'm not sure, because I'm begginer at GWT and SENCHA.
    I don't know how to submit an example simpler than the other because the application has various layers.
    But I'm gonna wait a help from a senior developer here and since we discover the problem we'll post the solution.
    Thanks.

Thread Participants: 1

Tags for this Thread