Some problems with OWS

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
mathbigai
Posts: 4
Joined: 21 Aug 2020, 14:47

Some problems with OWS

Post by mathbigai »

Hello everyone,
I started using OWS to update my application recently, and I am facing some problems, and I hope this is where I can express them.
First, my JNLP is configured to download and verify several .jar's. And up to that point I had no problem trying internally, but it was running the system that some things didn't work: Some buttons lost their functions and did nothing, without giving any error message; I use the JCalendar API, and it loses its formation starting from "dd / MM / yyyy"; among other problems.
I believe these are my difficulties in using OWS, but I would be grateful if anyone has some guidelines.

In my tests not using OWS my system works normally.

Stephan Classen
Posts: 157
Joined: 27 Mar 2020, 09:55

Re: Some problems with OWS

Post by Stephan Classen »

OWS is manly just downloading the jars of your application and once the application is running it does not interfere with it.

You said you have run the app without OWS. Did you use the very same JVM instance when doing so?

Also it would be helpfull to have the JNLP and/or the log files to further analyze the problem

mathbigai
Posts: 4
Joined: 21 Aug 2020, 14:47

Re: Some problems with OWS

Post by mathbigai »

Perhaps I have expressed myself poorly. My system was downloaded normally by OWS, and created a shortcut on the desktop, and it is this shortcut that I am running.

Here is the JNLP.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
  <jnlp spec="0.9+" codebase="http://127.0.0.1/NovaConta/" href=" http://127.0.0.1/NovaConta/NovaConta.jnlp"> 
    <information>
      <title>NovaConta</title> 
      <vendor>Issidios Tecnologia</vendor> 
      <description>NovaConta</description> 
      <icon href="http://127.0.0.1/NovaConta/icone/Calendar-Plus.png" kind="shortcut"/> 
      <icon href="http://127.0.0.1/NovaConta/icone/Calendar-Plus.png"/> 
      <shortcut online="true"> 
        <desktop/>
      </shortcut>
      <offline-allowed/> 
    </information>
    <update check="timeout" policy="prompt-update"/> 
    <resources>
      <java version="7.0+"/> 
		<jar href="/NovaConta/lib/AbsoluteLayout.jar"/> 
<jar href="/NovaConta/lib/commons-collections-3.2.1.jar"/> 
<jar href="/NovaConta/lib/commons-digester-2.1.jar"/> 
<jar href="/NovaConta/lib/commons-io-2.7.jar"/> 
<jar href="/NovaConta/lib/commons-lang-2.4.jar"/>
<jar href="/NovaConta/lib/commons-logging-1.1.1.jar"/> 
<jar href="/NovaConta/lib/groovy-all-2.4.6.jar"/> 
<jar href="/NovaConta/lib/gson-2.2.4.jar"/> 
<jar href="/NovaConta/lib/hunspell-darwin-amd64.jar"/> 
<jar href="/NovaConta/lib/hunspell-darwin-i386.jar"/> 
<jar href="/NovaConta/lib/hunspell-darwin-ppc.jar"/> 
<jar href="/NovaConta/lib/hunspell-linux-amd64.jar"/> 
<jar href="/NovaConta/lib/hunspell-linux-i386.jar"/> 
<jar href="/NovaConta/lib/hunspell-win32-amd64.jar"/> 
<jar href="/NovaConta/lib/hunspell-win32-x86.jar"/> 
<jar href="/NovaConta/lib/itext-2.1.7.js2.jar"/> 
<jar href="/NovaConta/lib/iText-5.0.5.jar"/> 
<jar href="/NovaConta/lib/jasperreports-6.1.0.jar"/> 
<jar href="/NovaConta/lib/jcalendar-1.4.jar"/> 
<jar href="/NovaConta/lib/jcommon-1.0.15.jar"/> 
<jar href="/NovaConta/lib/jdbtrigger.jar"/> 
<jar href="/NovaConta/lib/jgoodies-common-1.2.0.jar"/> 
<jar href="/NovaConta/lib/jgoodies-looks-2.4.1.jar"/> 
<jar href="/NovaConta/lib/jna.jar"/> 
<jar href="/NovaConta/lib/joda-time-2.10.6.jar"/> 
<jar href="/NovaConta/lib/jrimum-bopepo-0.2.3-DEV-20190203.192336-60-dep.jar"/> 
<jar href="/NovaConta/lib/junit-3.8.1.jar"/> 
<jar href="/NovaConta/lib/junit-4.6.jar"/> 
<jar href="/NovaConta/lib/KControls.jar"/> 
<jar href="/NovaConta/lib/log4j-1.2.15.jar"/> 
<jar href="/NovaConta/lib/mysql-connector-java-5.1.18-bin.jar"/> 
<jar href="/NovaConta/lib/pdfbox-app-2.0.16.jar"/>  
<jar href="/NovaConta/lib/RoundFrame-1.0.jar"/> 
		<jar href="/NovaConta/ProjetoImpressao.jar"/> 
    </resources>
    <security>
      <all-permissions/>
    </security>
    <application-desc main-class="view.ViewTelaLogin"/>
  </jnlp>

ptai
Posts: 10
Joined: 13 Aug 2020, 14:50

Re: Some problems with OWS

Post by ptai »

mathbigai wrote:
21 Aug 2020, 15:35
Perhaps I have expressed myself poorly. My system was downloaded normally by OWS, and created a shortcut on the desktop, and it is this shortcut that I am running.
As Stephan Classen noted, once the application is started, OWS does not interfere in any way with your application. But there can be some differences for example compared to how Oracles webstart worked (see the thread about cookies).

Are you sure you are starting the application with all necessary arguments and that the JVM is the correct one? I don't know what your buttons should do when pressed, but maybe it has something to do with access rights.

@Stephan Classen
>> Did you use the very same JVM instance when doing so?

Where are the cached JVMs stored?

Stephan Classen
Posts: 157
Joined: 27 Mar 2020, 09:55

Re: Some problems with OWS

Post by Stephan Classen »

anything that gets downloade by OWS is stored in ${USER_HOME}/.cache/icedtea-web

Stephan Classen
Posts: 157
Joined: 27 Mar 2020, 09:55

Re: Some problems with OWS

Post by Stephan Classen »

@mathbigai
Any news? when running with the same JVM as open web start uses to launch your app?
If not can you post the logs from runig you app?

mathbigai
Posts: 4
Joined: 21 Aug 2020, 14:47

Re: Some problems with OWS

Post by mathbigai »

Hello everyone,
Sorry for the delay, I was doing several tests on my system to try to understand what was happening, but, unfortunately, I couldn't identify it. I checked all my libraries, I checked the JVM, which in this case, was using the Azul System, and the logs, some points on my system gave some errors, and I don't know why in the execution of .jar it doesn't happen.
I'll go through the logs, and .jnlp again. Who knows, you may not be able to find the problem.

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="ftp://192.168.1.105:40000/NovaConta" href="launch.jnlp" spec="1.0+">
    <information>
        <title>NovaConta</title>
        <vendor>Issidios Tecnologia</vendor>
        <homepage href=""/>
        <description>NovaConta</description>
        <description kind="short">NovaConta</description>
    <icon href="loader.gif" kind="splash"/>
<icon href="Calendar-Plus.png" kind="shortcut"/>
<shortcut online="true"> 
        <desktop/>
      </shortcut>
<offline-allowed/>
</information>
    <update check="background"/>
    <security>
<all-permissions/>
</security>
    <resources>
        <j2se version="1.8+"/>
        <jar href="ProjetoImpressao.jar" main="true"/>
    <jar href="lib/AbsoluteLayout.jar"/>
<jar href="lib/JRimum-Texgit-Utilix-0.2.0-SNAPSHOT-20101207.jar"/>
<jar href="lib/JTattoo-1.6.11.jar"/>
<jar href="lib/KControls.jar"/>
<jar href="lib/RoundFrame-1.0.jar"/>
<jar href="lib/UGComp.jar"/>
<jar href="lib/UGLibrary.jar"/>
<jar href="lib/commons-beanutils-1.9.0.jar"/>
<jar href="lib/commons-collections-3.2.1.jar"/>
<jar href="lib/commons-digester-2.1.jar"/>
<jar href="lib/commons-email-1.5-javadoc.jar"/>
<jar href="lib/commons-email-1.5.jar"/>
<jar href="lib/commons-io-2.7.jar"/>
<jar href="lib/commons-lang-2.4.jar"/>
<jar href="lib/commons-logging-1.1.1.jar"/>
<jar href="lib/cryptacular-1.2.4.jar"/>
<jar href="lib/groovy-all-2.4.6.jar"/>
<jar href="lib/gson-2.2.4.jar"/>
<jar href="lib/hunspell-darwin-amd64.jar"/>
<jar href="lib/hunspell-darwin-i386.jar"/>
<jar href="lib/hunspell-darwin-ppc.jar"/>
<jar href="lib/hunspell-linux-amd64.jar"/>
<jar href="lib/hunspell-linux-i386.jar"/>
<jar href="lib/hunspell-win32-amd64.jar"/>
<jar href="lib/hunspell-win32-x86.jar"/>
<jar href="lib/iText-5.0.5.jar"/>
<jar href="lib/itext-2.1.7.js2.jar"/>
<jar href="lib/jasperreports-6.1.0.jar"/>
<jar href="lib/jcalendar-1.4.jar"/>
<jar href="lib/jcommon-1.0.15.jar"/>
<jar href="lib/jdbtrigger.jar"/>
<jar href="lib/jgoodies-common-1.2.0.jar"/>
<jar href="lib/jgoodies-looks-2.4.1.jar"/>
<jar href="lib/jna.jar"/>
<jar href="lib/joda-time-2.10.6.jar"/>
<jar href="lib/jortho.jar"/>
<jar href="lib/jrimum-bopepo-0.2.3-DEV-20190203.192336-60-dep-sources.jar"/>
<jar href="lib/jrimum-bopepo-0.2.3-DEV-20190203.192336-60-dep.jar"/>
<jar href="lib/junit-3.8.1.jar"/>
<jar href="lib/junit-4.6.jar"/>
<jar href="lib/log4j-1.2.15.jar"/>
<jar href="lib/mail.jar"/>
<jar href="lib/mysql-connector-java-5.1.18-bin.jar"/>
<jar href="lib/passay-1.6.0-javadoc.jar"/>
<jar href="lib/passay-1.6.0-sources.jar"/>
<jar href="lib/passay-1.6.0-tests.jar"/>
<jar href="lib/passay-1.6.0.jar"/>
<jar href="lib/pdfbox-app-2.0.16.jar"/>
<jar href="lib/quicktable2swing11.jar"/>
<jar href="lib/quicktable2swing11design.jar"/>
<jar href="lib/smtp.jar"/>
<jar href="lib/spring-aop-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-beans-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-context-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-context-support-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-core-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-expression-5.2.6.RELEASE.jar"/>
<jar href="lib/spring-jcl-5.2.6.RELEASE.jar"/>
<jar href="lib/texgit-0.2.0-SNAPSHOT-texgit-dependencias-jrimum.jar"/>
</resources>
    <application-desc main-class="view.ViewTelaLogin">
    </application-desc>
</jnlp>
Log.

Code: Select all

[ITW-APP ][2020-09-15 09:44:00.951 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] Exception in thread "AWT-EventQueue-1" java.lang.NumberFormatException: For input string: " 500.00"
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.lang.Double.parseDouble(Double.java:543)
[ITW-APP ][2020-09-15 09:44:00.953 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at view.cadastro.ViewCadastroCliente.jButtonSalvarActionPerformed(ViewCadastroCliente.java:880)
[ITW-APP ][2020-09-15 09:44:00.953 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at view.cadastro.ViewCadastroCliente.access$2100(ViewCadastroCliente.java:55)
[ITW-APP ][2020-09-15 09:44:00.953 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at view.cadastro.ViewCadastroCliente$21.actionPerformed(ViewCadastroCliente.java:609)
[ITW-APP ][2020-09-15 09:44:00.953 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
[ITW-APP ][2020-09-15 09:44:00.956 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6631)
[ITW-APP ][2020-09-15 09:44:00.957 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
[ITW-APP ][2020-09-15 09:44:00.958 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Component.processEvent(Component.java:6396)
[ITW-APP ][2020-09-15 09:44:00.958 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
[ITW-APP ][2020-09-15 09:44:00.958 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5007)
[ITW-APP ][2020-09-15 09:44:00.958 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
[ITW-APP ][2020-09-15 09:44:00.960 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4839)
[ITW-APP ][2020-09-15 09:44:00.960 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
[ITW-APP ][2020-09-15 09:44:00.972 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
[ITW-APP ][2020-09-15 09:44:00.972 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
[ITW-APP ][2020-09-15 09:44:00.972 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
[ITW-APP ][2020-09-15 09:44:00.972 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
[ITW-APP ][2020-09-15 09:44:00.972 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4839)
[ITW-APP ][2020-09-15 09:44:00.973 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
[ITW-APP ][2020-09-15 09:44:00.973 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
[ITW-APP ][2020-09-15 09:44:00.973 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
[ITW-APP ][2020-09-15 09:44:00.973 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.security.AccessController.doPrivileged(Native Method)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.security.AccessController.doPrivileged(Native Method)
[ITW-APP ][2020-09-15 09:44:00.974 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
[ITW-APP ][2020-09-15 09:44:00.975 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[ITW-APP ][2020-09-15 09:44:00.976 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
[ITW-CORE][2020-09-15 09:46:00.029 AMT][DEBUG][com.openwebstart.proxy.direct.DirectProxyProvider] Using NO_PROXY
[ITW-CORE][2020-09-15 09:46:00.075 AMT][DEBUG][com.openwebstart.proxy.direct.DirectProxyProvider] Using NO_PROXY
[ITW-CORE][2020-09-15 09:46:00.088 AMT][INFO ][net.sourceforge.jnlp.cache.NativeLibraryStorage] Cleaning up native directory C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130
[ITW-CORE][2020-09-15 09:46:00.088 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130
[ITW-CORE][2020-09-15 09:46:00.089 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130\hunspell-darwin-ppc-32.jnilib
[ITW-CORE][2020-09-15 09:46:00.090 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130\hunspell-darwin-x86-32.jnilib
[ITW-CORE][2020-09-15 09:46:00.092 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130\hunspell-darwin-x86-64.jnilib
[ITW-CORE][2020-09-15 09:46:00.094 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130\hunspell-win-x86-32.dll
[ITW-CORE][2020-09-15 09:46:00.095 AMT][DEBUG][net.adoptopenjdk.icedteaweb.io.FileUtils] Deleting: C:\Users\Nova-002\AppData\Local\Temp\netx-native-34130\hunspell-win-x86-64.dll
[ITW-CORE][2020-09-15 09:46:00.145 AMT][DEBUG][net.sourceforge.jnlp.runtime.JNLPRuntime] Release shared lock on C:\Users\Nova-002\AppData\Local\Temp\Nova-002\netx\locks\netx_running
[ITW-CORE][2020-09-15 09:46:00.146 AMT][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] Other instances of javaws are running
[ITW-CORE][2020-09-15 09:46:00.146 AMT][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] Cannot clear the cache at this time. Try later. If the problem persists, try closing your browser(s) & JNLP applications. At the end you can try to kill all java applications. You can clear cache by javaws -Xclearcache or via itw-settings Cache -> View files -> Purge

Janak Mulani
Posts: 173
Joined: 24 Mar 2020, 13:37

Re: Some problems with OWS

Post by Janak Mulani »

Hi

There is an exception in your application:

Code: Select all

java.lang.NumberFormatException: For input string: " 500.00"
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
[ITW-APP ][2020-09-15 09:44:00.952 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at java.base/java.lang.Double.parseDouble(Double.java:543)
[ITW-APP ][2020-09-15 09:44:00.953 AMT][ERROR][java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)] 	at view.cadastro.ViewCadastroCliente.jButtonSalvarActionPerformed(ViewCadastroCliente.java:880)
With which version JRE is your JNLP application running? Please attach the logs instead of copying their contents here.
In my tests not using OWS my system works normally.
Which version of JRE did you use when it worked normally?

mathbigai
Posts: 4
Joined: 21 Aug 2020, 14:47

Re: Some problems with OWS

Post by mathbigai »

Straightening my code, I have a line where I convert a String to Double.
I take the text from a JTextField, where it has R$ ##, ##. I make a replace, taking the R$ and transforming the "," in ".". This is all within Double.parseDouble.
I run my system on JRE 1.8.0, but I've also tested it on 7.
Attachments
Log.rar
(29 KiB) Downloaded 40 times

Stephan Classen
Posts: 157
Joined: 27 Mar 2020, 09:55

Re: Some problems with OWS

Post by Stephan Classen »

There is still the parse exception in the log of your app.
You need to trim the input string in view.cadastro.ViewCadastroCliente.jButtonSalvarActionPerformed

Post Reply