Menu

#74 Can't start frinika, error and crash during setup

0.1.7
open
nobody
None
5
2022-08-19
2022-08-18
No

Hello. Is this app still supported? I've just found it and seems perfect for me, powerful enough but still simple to use by a novice like me.

I've tried to install it, but it doesn't run. After start, it asks me to configure the audio server. With any server I choose, it causes a java error and crashes.

I'm using arch linux 64 bits, with Java 18 OpenJDK JRE. I've tried to downgrade until Java 8 OpenJDK, with the same results. I think Java 7 is now deprecated and cannot be installed.

The error I get is this one:

java.lang.IllegalArgumentException: uk.org.toot.audio.server.spi.AudioServerServiceProvider is not an ImageIO SPI class

Any clue? Thanks a lot!

If you want the full stack trace, is this:

[andres@artemia frinika]$ frinika 
Using language: español
config: TICKS_PER_QUARTER=128
config: TEXT_LANE_FONT=java.awt.Font[family=Arial,name=Arial,style=plain,size=8]
config: DEFAULT_SOUNDFONT=/home/andres/frinika/soundfonts/8MBGMSFX.SF2
config: JACK_AUTO_CONNECT=false
config: GROOVE_PATTERN_DIRECTORY=/home/andres/frinika/groovepatterns
config: BIG_ENDIAN=false
config: MULTIPLEXED_AUDIO=false
config: MOUSE_NUMBER_DRAG_INTENSITY=2.0
config: MAXIMIZE_WINDOW=false
config: MIDIIN_DEVICES_LIST=
config: sampleRate=44100
config: PATCHNAME_DIRECTORY=/home/andres/frinika/patchname
config: AUDIO_BUFFER_LENGTH=512
config: SETUP_DONE=true
config: AUTOMATIC_CHECK_FOR_NEW_VERSION=true
config: SEQUENCER_PRIORITY=0
config: DIRECT_MONITORING=false
config: SCRIPTS_DIRECTORY=/home/andres/frinika/scripts
config: SOUNDFONT_DIRECTORY=/home/andres/frinika/soundfonts
config: AUDIO_DIRECTORY=/home/andres/frinika/audio
no saved property for configuration option LAST_PROJECT_FILENAME, using default
config: MULTIPLEXED_AUDIO=false
loaded priority native library /usr/share/java/frinika/lib/amd64/Linux/libpriority.so
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at com.frinika.project.FrinikaAudioSystem.getAudioServerInit(FrinikaAudioSystem.java:173)
    at com.frinika.settings.InitialAudioServerPanel$1.actionPerformed(InitialAudioServerPanel.java:87)
    at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
    at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
    at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
 ...
Caused by: java.lang.IllegalArgumentException: uk.org.toot.audio.server.spi.AudioServerServiceProvider is not an ImageIO SPI class
    at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:712)
    at java.desktop/javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:170)
    at uk.org.toot.service.Services.lookup(Services.java:20)
    at uk.org.toot.audio.server.AudioServerServices.scan(AudioServerServices.java:63)
    at uk.org.toot.audio.server.AudioServerServices.<clinit>(AudioServerServices.java:23)
    ...

Discussion

  • Peter Salomonsen

    Hi,

    On my Mac using Java 8 from https://java.com works with the version you can download here.

    When it comes to newer Java versions I know about the startup problem, and there's a fix for it in the github repository here (if you are able to compile it on your own): https://github.com/petersalomonsen/frinika/commit/eeaaa1770542d37358e66017910eb4a72b768db8

    However I still think Java 8 is the best version to use for Frinika, and wouldn't really recommend a newer version. Java 8 is also the latest release for desktop apps, so I would assume that' s the officially recommended version for Java apps like Frinika in general.

    best regards,

    Peter

     
  • Andrés Moya

    Andrés Moya - 2022-08-19

    Ok. I just installed the Oracle JRE 8 and it seems to work. It appears to be a OpenJDK compatibility issue.

    It would be good to fix it to use OpenJDK 8. In most Linux distributions this is the default installed version, because of open source incompatibility of the Oracle version.

    But anyway, it can be used this way. Thanks!

     

Log in to post a comment.