Package: davmail
Version: 5.0.0.2801-1
Severity: important
after the last upgrade of java on testing and starting davmail from
command line the mail seem to work correctly, but the Calendar not (for
example you cannot accept an invitation or you accept it and it is
marked as not accepted or the calendar is not correct with the last
variation, ...). Also the window with the log of davmail do not appear.
$ java -Djavax.net.debug=ssl
-Djava.library.path=/usr/lib/jni:/usr/lib/alpha-linux-gnu/jni:/usr/lib/x86_64-linux-gnu/jni:/usr/lib/aarch64-linux-gnu/jni:/usr/lib/x86_64-kfreebsd-gnu/jni:/usr/lib/powerpc64-linux-gnu/jni:/usr/lib/powerpc64le-linux-gnu/jni:/usr/lib/s390x-linux-gnu/jni:/usr/lib/sparc64-linux-gnu/jni
-jar /usr/share/davmail/davmail.jar
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
com/sun/javafx/application/PlatformImpl$FinishListener
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at davmail.ui.SettingsFrame.isJavaFXAvailable(SettingsFrame.java:267)
at davmail.ui.SettingsFrame.getSettingsPanel(SettingsFrame.java:164)
at davmail.ui.SettingsFrame.<init>(SettingsFrame.java:746)
at
davmail.ui.tray.FrameGatewayTray.createAndShowGUI(FrameGatewayTray.java:311)
at davmail.ui.tray.FrameGatewayTray$8.run(FrameGatewayTray.java:198)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException:
com.sun.javafx.application.PlatformImpl$FinishListener
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 20 more
javax.net.ssl|DEBUG|19|PopConnection-50274|2018-11-27 08:53:58.359
CET|SSLCipher.java:437|jdk.tls.keyLimits: entry = AES/GCM/NoPadding
KeyUpdate 2^37. AES/GCM/NOPADDING:KEYUPDATE = 137438953472
javax.net.ssl|WARNING|19|PopConnection-50274|2018-11-27 08:53:58.799
CET|SSLSocketImpl.java:1289|handling exception (
"throwable" : {
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at
java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
at
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
at
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
at
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
at
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
at
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
at
org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
at
org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1313)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at
davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2968)
at
davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2936)
at
davmail.exchange.ews.EwsExchangeSession.checkEndPointUrl(EwsExchangeSession.java:216)
at
davmail.exchange.ews.EwsExchangeSession.buildSessionInfo(EwsExchangeSession.java:263)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:182)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:96)
at davmail.pop.PopConnection.run(PopConnection.java:140)}
)
javax.net.ssl|WARNING|19|PopConnection-50274|2018-11-27 08:53:58.993
CET|SSLSocketImpl.java:1289|handling exception (
"throwable" : {
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at
java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
at
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
at
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
at
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
at
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
at
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
at
org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
at
org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1313)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at
davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2968)
at
davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2936)
at
davmail.exchange.ews.EwsExchangeSession.internalGetFolder(EwsExchangeSession.java:1229)
at
davmail.exchange.ews.EwsExchangeSession.buildSessionInfo(EwsExchangeSession.java:265)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:182)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:96)
at davmail.pop.PopConnection.run(PopConnection.java:140)}
)
[...]
javax.net.ssl|ALL|10|IdleConnectionTimeoutThread|2018-11-27 08:55:12.250
CET|SSLSocketImpl.java:1002|Closing output stream
javax.net.ssl|DEBUG|10|IdleConnectionTimeoutThread|2018-11-27
08:55:12.250 CET|SSLSocketImpl.java:670|close outbound of SSLSocket
javax.net.ssl|ALL|10|IdleConnectionTimeoutThread|2018-11-27 08:55:12.252
CET|SSLSocketImpl.java:877|Closing input stream
javax.net.ssl|DEBUG|10|IdleConnectionTimeoutThread|2018-11-27
08:55:12.252 CET|SSLSocketImpl.java:636|close inbound of SSLSocket
javax.net.ssl|DEBUG|10|IdleConnectionTimeoutThread|2018-11-27
08:55:12.253 CET|SSLSocketImpl.java:473|duplex close of SSLSocket
javax.net.ssl|DEBUG|10|IdleConnectionTimeoutThread|2018-11-27
08:55:12.253 CET|SSLSocketImpl.java:1380|close the SSL connection (passive)
javax.net.ssl|WARNING|1B|CaldavConnection-54620|2018-11-27 08:55:56.769
CET|SSLSocketImpl.java:1289|handling exception (
"throwable" : {
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at
java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
at
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
at
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
at
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
at
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
at
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
at
org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
at
org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1313)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at
davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2968)
at
davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2936)
at
davmail.exchange.ews.EwsExchangeSession.internalGetFolder(EwsExchangeSession.java:1229)
at
davmail.exchange.ews.EwsExchangeSession.internalGetFolder(EwsExchangeSession.java:56)
at
davmail.exchange.ExchangeSession.getFolder(ExchangeSession.java:1419)
at davmail.exchange.ExchangeSession.isExpired(ExchangeSession.java:362)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:133)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:96)
at davmail.caldav.CaldavConnection.run(CaldavConnection.java:169)}
)
I have found this bug report on sourceforge, but I'm not sure if it is
for the same reason. The problem is that some ciphers are not more
available in the new java versions due to security issues
https://sourceforge.net/p/davmail/bugs/683/
From this report (system information) I have seen that I have removed
two library, I try to install they
# apt install libswt-gtk-4-java libswt-cairo-gtk-4-jni
and restarted javamail from xterm. Appear the davmail window, but when I
click on it the windows disappear and I have:
Gdk-Message: 10:16:43.534: Window 0x7ff27535b020 is a temporary window
without parent, application will not be able to position it on screen.
Gdk-Message: 10:16:43.534: Window 0x7ff27535b020 is a temporary window
without parent, application will not be able to position it on screen.
If I try to download mail message I have the following errors and the
calendar do not work
javax.net.ssl|DEBUG|17|PopConnection-50572|2018-11-27 10:17:49.318
CET|SSLCipher.java:437|jdk.tls.keyLimits: entry = AES/GCM/NoPadding
KeyUpdate 2^37. AES/GCM/NOPADDING:KEYUPDATE = 137438953472
javax.net.ssl|WARNING|17|PopConnection-50572|2018-11-27 10:17:49.916
CET|SSLSocketImpl.java:1289|handling exception (
"throwable" : {
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at
java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at
java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at
java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
at
java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
at
java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
at
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
at
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
at
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
at
org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
at
org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1313)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at
davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2968)
at
davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2936)
at
davmail.exchange.ews.EwsExchangeSession.checkEndPointUrl(EwsExchangeSession.java:216)
at
davmail.exchange.ews.EwsExchangeSession.buildSessionInfo(EwsExchangeSession.java:263)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:182)
at
davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:96)
at davmail.pop.PopConnection.run(PopConnection.java:140)}
)
Ciao
Davide
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8),
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages davmail depends on:
ii adduser 3.118
ii default-jre-headless [java9-runtime-headless] 2:1.11-70
ii init-system-helpers 1.56
ii jarwrapper 0.71
ii libcommons-codec-java 1.11-1
ii libcommons-httpclient-java 3.1-15
ii libcommons-logging-java 1.2-2
ii libhtmlcleaner-java 2.21-5
ii libjackrabbit-java 2.14.6-1
ii libjcifs-java 1.3.19-2
ii libjettison-java 1.4.0-1
ii liblog4j1.2-java 1.2.17-8
ii libmail-java 1.6.2-1
ii libopenjfx-java 11+26-5
ii libservlet3.1-java 8.5.35-2
ii libslf4j-java 1.7.25-3
ii libstax2-api-java 4.1-1
ii libwoodstox-java 1:5.1.0-2
ii logrotate 3.14.0-4
ii lsb-base 9.20170808
ii openjdk-10-jre-headless [java9-runtime-headless] 10.0.2+13-2
ii openjdk-11-jre-headless [java9-runtime-headless] 11.0.1+13-2
davmail recommends no packages.
Versions of packages davmail suggests:
pn libswt-cairo-gtk-4-jni <none>
pn libswt-gtk-4-java <none>
-- no debconf information
--
Dizionari: http://linguistico.sourceforge.net/wiki
I didn't use Microsoft machines when I was in my operational phase,
because I couldn't trust them.
Not because I knew that there was a particular back door or anything
like that, but because I couldn't be sure.
Edward Snowden