Bartekc8888 wrote:Hickupp wrote:"Alarm Manager" lockup.
Exception: java.lang.IllegalArgumentException thrown from the UncaughtExceptionHandler in thread "Haven UI thread"
I couldnt reproduce that error, but i added some preventive measures, maybe that fixes it.
Also i added a guard so maybe it won't crash client if it ever occures again.
If you ever happen to get it again, please copy whole error, it would greatly help with tracking down source of it.
Roger.
Sorry. No changes detected on my side with version 1.0.6.
Unfortunately that "IllegalArgumentException" line is the only thing that pops up in the terminal window.
Tried a couple things to see if I could spot something more useful. (
not that successful though)
I get the following results when both the "defaultAlarms" and "alarmConfig" files where removed.
A) Client start (Client login screen) => Options => Sound Manager => Button [Default] => Lockup
- Code: Select all
0
java.nio.file.NoSuchFileException: /home/.../HnH/Pasta_Y/defaultAlarms
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at java.base/java.nio.file.Files.newBufferedReader(Files.java:2922)
at java.base/java.nio.file.Files.readAllLines(Files.java:3412)
at haven.purus.alarms.AlarmManager.loadFromFile(AlarmManager.java:54)
at haven.purus.alarms.AlarmManager.defaultSettings(AlarmManager.java:99)
at haven.purus.alarms.AlarmManager.load(AlarmManager.java:45)
at haven.purus.alarms.AlarmManager.init(AlarmManager.java:26)
at haven.MainFrame.main(MainFrame.java:550)
haven.RootWidget@2cbaa6c focus[1]
haven.RootWidget@10534c0f focus[1]
java.nio.file.NoSuchFileException: /home/.../HnH/Pasta_Y/defaultAlarms
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at java.base/java.nio.file.Files.newBufferedReader(Files.java:2922)
at java.base/java.nio.file.Files.readAllLines(Files.java:3412)
at haven.purus.alarms.AlarmManager.loadFromFile(AlarmManager.java:54)
at haven.purus.alarms.AlarmManager.defaultSettings(AlarmManager.java:99)
at haven.purus.alarms.AlarmWindow$3.click(AlarmWindow.java:61)
at haven.Button.mouseup(Button.java:220)
at haven.UI.mouseup(UI.java:535)
at haven.UIPanel$Dispatcher.dispatch(UIPanel.java:77)
at haven.GLPanel$Loop.run(GLPanel.java:365)
at haven.JOGLPanel.run(JOGLPanel.java:252)
at java.base/java.lang.Thread.run(Thread.java:833)
Exception: java.lang.IllegalArgumentException thrown from the UncaughtExceptionHandler in thread "Haven UI thread"
But no Lockup in this case:
A2) Client start => After character login => Options => Sound Manager => Button [Default] => (Default restored)
B) Client start (Client login screen OR After character login) => Options => Sound Manager => Button [Add] => Button [Delete] => Lockup
More or less the same terminal output. (ie: no additional info)
Low priority, considering it seems a rare case and its not a direct show-stopper.
If at some point you think of something that I could try/check that might help you, just let me know.
Client started with default run.sh
Linux Mint 20.3
java version "17.0.6" 2023-01-17 LTS
Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)