Monday, September 26, 2022

Re: GWT Migration from 2.1.0 to 2.9.0

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 patil.p...@gmail.com 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, <patil.p...@gmail.com> 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 <jens.ne...@gmail.com> 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.

patil.p...@gmail.com 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 google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a7b42464-b696-4607-84a7-5696f315edb2n%40googlegroups.com.

Re: GWT Migration from 2.1.0 to 2.9.0

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, <patil.pramod63@gmail.com> 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 <jens.nehlmeier@gmail.com> 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.

patil.p...@gmail.com 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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAAXS9-Uu8Yej8NVf2zT5LjztTqNrHZJD5oPdwO9X4fPD-HESfw%40mail.gmail.com.

Re: GWT Migration from 2.1.0 to 2.9.0

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 <jens.nehlmeier@gmail.com> 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.

patil.p...@gmail.com 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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.


--
Thanks and regards,
 Pramod Patil
 Contact +91-8975432800

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAAXS9-W6KKEr3K2XL4aNtdnt7htfjXjfhvAH0UAMAKoZaJm2XA%40mail.gmail.com.

Re: GWT Migration from 2.1.0 to 2.9.0

"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.

patil.p...@gmail.com 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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/058d57eb-a47b-43b2-8688-12ed3e86430en%40googlegroups.com.

Sunday, September 25, 2022

GWT Migration from 2.1.0 to 2.9.0

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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2c152ae4-e2b7-423b-8367-61e803082367n%40googlegroups.com.

Saturday, September 24, 2022

Re: Errors when running "ant test"

I found out what the problem was. There were a few small diffs compared to the master/main branch, and those provoked severity="error" issues in the checkstyle run. I was confused by various other "error" items that also occur on the master/main branch, but issues only seem to let the build fail if the severity is "error" (which it isn't for any of the "error" items on the master/main branch).

On Wednesday, September 21, 2022 at 1:07:13 PM UTC+2 Axel wrote:
I'm trying to build GWT locally from sources (c32238861c4d58bc559d303ab44f91ddd4e10685). https://www.gwtproject.org/makinggwtbetter.html#testing suggests to run "ant" and "ant test". When I do, I'm seeing error messages in the XML file produced, such as

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/concurrent/TimeUnit.java">
<error line="21" column="35" severity="warning" message="&apos;{&apos; should have line break after." source="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/function/BinaryOperator.java">
<error line="20" severity="warning" message="Import statement is in the wrong order. Should be in the &apos;STATIC&apos; group." source="com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck"/>

or

<file name="/usr/local/src/gwt/trunk/user/super/com/google/gwt/emul/java/util/logging/Logger.java">
<error line="334" severity="warning" message="Line is longer than 100 characters (found 105)." source="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"/>

The ant command then fails as follows:

checkstyle-source:
[checkstyle] Running Checkstyle 6.0 on 6159 files

BUILD FAILED
/usr/local/src/gwt/trunk/build.xml:119: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:27: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/build.xml:70: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/user/build.xml:209: The following error occurred while executing this line:
/usr/local/src/gwt/trunk/common.ant.xml:361: Checkstyle errors exist, and are reported at /usr/local/src/gwt/trunk/build/out/user/checkstyle_log.xml

Is this to be expected, or did I make some mistake during cloning or building? I haven't modified those files in which style errors are flagged.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/c3907929-cfbb-48f8-b4e2-c07a45bbff69n%40googlegroups.com.

Wednesday, September 21, 2022

Re: App Server for GWT 2.10

There is the jakarta migration utility. Supposed to convert wars from javax.* to jakarta.* for deployment. Tomcat also has a special deployment option for such.

Another approach to consider, depending on your needs, is spring boot run, maybe inside a docker container.


On Wed, Sep 21, 2022 at 11:16 AM Valavanur Man <mramadoss@gmail.com> wrote:
Thanks. We had problems due to jakarta.servlet with Glassfish 6.0 when we attempted to migrate. 
So was looking for a good replacement preferably open source.  Was thinking Payara, but if it goes jakarta route, we will have the same issue in the future.  Any suggestions?

On Wednesday, September 21, 2022 at 4:34:01 AM UTC-7 Jens wrote:
If you use GWT-RPC or RequestFactory you need to choose a servlet container that still uses javax.servlet instead of jakarta.servlet because both these GWT features have a servlet component using javax.servlet.

Other than that, you can choose whatever you want.

-- J.

Valavanur Man schrieb am Dienstag, 20. September 2022 um 17:59:48 UTC+2:
Hi,

We are running GWT 2.8 with Glassfish4.  We had issues trying to run the GWT (2.8) App in Glassfish 6.

Currently we are looking into upgrading to GWT 2.10. Would like you know what appservers are supported to run GWT 2.10 (even GWT 2.8 and beyond). Is there a recommended set of servers?

Appreciate any pointers.

Thanks,

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6a0dbe21-60fc-4dd7-a071-ce021d09155fn%40googlegroups.com.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAFHWztxr-dNwVnoYBKzPobg7vHFu4h80Xj3YJ6jo95OZ5H%3D3Fw%40mail.gmail.com.