Kodi Community Forum
java.lang.StackOverflow: When open the settings dialog - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: java.lang.StackOverflow: When open the settings dialog (/showthread.php?tid=319610)



java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-08

I am using tmm 2.9.3 downloaded from the Website on a up-to-date Debian unstable.
Everytime when I open the settings dialog (e.g. to add a new media directory) I get this error messages. I click OK and everything is fine.
Image


RE: java.lang.StackOverflow: When open the settings dialog - myron - 2017-08-08

wohoo - never seen this Smile
what java version are you using? ("java -version")
Headless or with gui?
OpenJDK or Oracle?
Huh


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-08

Code:
$ java -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-3-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

$ apt-cache policy openjdk-8-jdk
openjdk-8-jdk:
  Installiert:           8u141-b15-3
  Installationskandidat: 8u141-b15-3
  Versionstabelle:
*** 8u141-b15-3 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

What do you mean with "headless or gui"? There are dialogs in my screenshot. I use tmm in gui mode.


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-11

Should I open a bug report for that?


RE: java.lang.StackOverflow: When open the settings dialog - myron - 2017-08-12

nah, not needed.

Can you post/PN me the whole StackOverflow exception?
(You can leave out the first repeated lines)

Additionally:
try deleting the data\tmm.prop file.
This resets all GUI relevant window positions... maybe this helps...


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-15

by-the-way: I can reproduce this problem with the current git version of tmm.

Code:
commit 4b897e569fcfe42ead729d0f86ddf4209c544637 (HEAD -> master, origin/master, origin/HEAD)
Merge: ec3b6665 e3647138
Author: Manuel Laggner <[email protected]>
Date:   Fri Aug 4 18:04:17 2017 +0200

    Merge branch 'devel'

Deleting
Code:
data\tmm.prop
had no effect.


RE: java.lang.StackOverflow: When open the settings dialog - mlaggner - 2017-08-17

I use a up to date arch linux installation and do not get this error..

could you either try to install the package "openjfx" or post a whole exception?


RE: java.lang.StackOverflow: When open the settings dialog - myron - 2017-08-18

got it by PN, not useful at all :|
Quote:2017-08-12 10:46:39,347 ERROR [main] org.tinymediamanager.Log4jBackstop:37 - Uncaught exception in thread: main
java.lang.StackOverflowError: null
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:159)
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:159)
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:159)
[...] x times



RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-20

(2017-08-17, 20:40)mlaggner Wrote: could you either try to install the package "openjfx" or post a whole exception?

OpenJFX is still installed
Code:
$apt-cache policy openjfx libopenjfx-java
openjfx:
  Installiert:           8u131-b11-2
  Installationskandidat: 8u131-b11-2
  Versionstabelle:
*** 8u131-b11-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
libopenjfx-java:
  Installiert:           8u131-b11-2
  Installationskandidat: 8u131-b11-2
  Versionstabelle:
*** 8u131-b11-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     8u121-b13-1 500
        500 http://httpredir.debian.org/debian unstable/main i386 Packages

Here you can found the complete log:
http://paste.siduction.org/20170820081122

Can someone reproduce this problem on the same system? btw: I am using XFCE as desktop environment.


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-08-20

I wasn't able to reproduce this with a fresh installed openSuse tumbleweed. Interesting...


RE: java.lang.StackOverflow: When open the settings dialog - mlaggner - 2017-08-21

I did not find any hint either Sad


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-09-01

This problem occurse in the v3-branch, too.


RE: java.lang.StackOverflow: When open the settings dialog - mlaggner - 2017-09-01

sorry - must be your system.
we have about 1/3 linux users and I have not got any report that another user is having this issue


RE: java.lang.StackOverflow: When open the settings dialog - buhtz - 2017-09-01

I also think it is my system. But I think finding the cause of this problem would prevent Debian stable user to run into the same problem in the feature.

Do you have more user statistics of TMM? Are there other Debian unstable (aka: Debian sid) users?

In the next days I will setup a fresh virtual machine with Debian and re-test this.


RE: java.lang.StackOverflow: When open the settings dialog - mlaggner - 2017-09-02

as I stated in the github issue, we only know how much linux users we have - we do not have any statistics about the used linux derivates..