Add the script tags to your HTML (alternatively, use ScriptInjector in our entrypoint), but if they're not loaded, chances are that the Ext global is not defined, so Ext.BLANK_IMAGE_URL=… fails with the above-mentioned error.
On Monday, September 26, 2022 at 2:54:16 PM UTC+2 [email protected] wrote: > One more thing I noticed is, we have script tags in app.gwt.xml like below > <script src= js/ext/adapter/ext/ext-base.js/> > <script src=js/ext/ext-all-debug.js/> > > Is these tags causing problem? As 2.9.0 doesn't allow scripts in XML. Is > there known way out. ? Experts please share your opinions. > > On Mon, 26 Sep 2022, 5:40 pm Pramod Patil, <[email protected]> wrote: > >> Thank you for your response, I tried to figure out changes but as part of >> this migration apart from version upgrades I have added/edited below >> properties in app.gwt.xml. >> <set-property name="user.agent" value="ie8,gecko1_8,safari"/> >> <set-configuration-property name ='xsiframe.failIfScriptTag' >> value='FALSE'> >> other properties are present like >> <inherits name ="com.google.gwt.logging.Logging"/> >> <set-property name="gwt.logging.loglevel" value="FINE" /> >> <set-property name="gwt.logging.systemHandler" value="ENABLED" /> >> <set-property name="gwt.logging.consoleHandler" value="ENABLED" /> >> <set-property name="gwt.logging.developmentModeHandler" value="ENABLED" >> /> >> <set-property name="gwt.logging.simpleRemoteHandler" value="DISABLED" /> >> >> apart from these changes, I haven't changed any code also I could see >> entries for Ext.BLANK_IMAGE_URL= '../ext/resources//somepath/s.gif' in js >> files present in /war/project/js folder. >> >> Can you please let me know, what I might be missing? >> >> >> On Mon, Sep 26, 2022 at 2:41 PM Jens <[email protected]> wrote: >> >>> "Cannot set properties of undefined" is the javascript equivalent of >>> Java NullPointerException. >>> >>> So in your code something tried to set the property "BLANK_IMAGE_URL" on >>> "null". >>> >>> -- J. >>> >>> [email protected] schrieb am Montag, 26. September 2022 um 08:48:31 >>> UTC+2: >>> >>>> Hi >>>> I having beginners level knowledge with GWT, having task to migrate our >>>> application from GWT 2.1.0 to 2.9.0, in process, have made required >>>> changes. Application getting compiled fine but on browser its giving below >>>> error >>>> >>>> SEVERE: (TypeError) : Cannot set properties of undefined (setting >>>> 'BLANK_IMAGE_URL') >>>> com.google.gwt.core.client.JavaScriptException :(TypeError) : Cannot >>>> set properties of undefined >>>> >>>> If someone might be aware about this error, kindly revert. Thank you. >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Thanks and regards, >> Pramod Patil >> Contact +91-8975432800 <+91%2089754%2032800> >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a7b42464-b696-4607-84a7-5696f315edb2n%40googlegroups.com.
