Closed Faeb35 closed 4 months ago
Thats's the result when opening the requested URL in a browser:
{
"subsonic-response" : {
"status" : "failed",
"version" : "1.15.0",
"type" : "Airsonic-Advanced",
"error" : {
"code" : 0,
"message" : "Parameter value [0] did not match expected type [java.util.concurrent.atomic.AtomicInteger (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [0] did not match expected type [java.util.concurrent.atomic.AtomicInteger (n/a)]"
}
}
}
When opening getAlbumList.view (instead of getAlbumList2.view) with the same parameters in a browser I'm getting a JSON with a list of albums.
@Faeb35 I have fixed the WAR file and Docker image. Could you please test whichever you prefer?
war file zip docker image: ghcr.io/kagemomiji/airsonic-advanced:pr-391
@kagemomiji You're my hero! That totaly fixed the issue!! Thank you so much for fixing this so fast, I'm stunned ❤️🚀
What happened?
I'm using Sonixd (https://github.com/jeffvli/sonixd) with Airsonic. I stuck on a release from about 9 month ago and finally managed to update to the newer release (Edge Release 11.1.4-SNAPSHOT.20240228232921). After updateing Sonixd stopped working. Starting Sonixd ends in just the window turning white and freezing (seams to be the usual Sonixd behaviour in case of a crash). Having a look at airsonic logs brings up this error below. REST API seams to be broken.
Steps to reproduce
Version
11.1.x (Edge)
Version Detail
11.1.4-SNAPSHOT.20240228232921
Operating System
Windows Server 2022 (21H2)
Java Version
openjdk version "20.0.1" 2023-04-18
Database
Other
DB Detail
Default HSQLDB
Configuration paramter
Airsonic preferences. NOTE: This file is automatically generated. Do not modify while application is running
JWTKey=XXXXXXX SettingsChanged=1709283431404 GettingStartedEnabled=false PodcastUpdateInterval=168 PodcastEpisodeRetentionCount=10 PodcastEpisodeDownloadCount=-1 PodcastFolder=\\XXXXXXXXX\Podcasts IndexString=A \u00C4 B C D E F G H I J K L M N O \u00D6 P Q R S T U \u00DC V W X-Z(XYZ) IgnoredArticles=The Tha El La Los Las Le Shortcuts=New Incoming Podcast PlaylistFolder=c:\playlists MusicFileTypes=mp3 ogg oga aac m4a m4b flac wav wma aif aiff ape mpc shn mka opus VideoFileTypes=flv avi mpg mpeg mp4 m4v mkv mov wmv ogv divx m2ts webm CoverArtFileTypes2=cover.jpg cover.png cover.gif covers.jpg covers.png folder.jpg jpg jpeg gif png SortAlbumsByYear=true WelcomeTitle= WelcomeSubtitle= WelcomeMessage2= LoginMessage= Theme=default LocaleLanguage=en LocaleCountry= LocaleVariant= IndexCreationInterval=1 IndexCreationHour=2 FastCacheEnabled=false OrganizeByFolderStructure=true ExcludePattern= IgnoreSymLinks=false DownloadBitrateLimit=0 UploadBitrateLimit=0 LdapEnabled=false LdapUrl=ldap://host.domain.com:389/cn=Users,dc=domain,dc=com LdapSearchFilter=(sAMAccountName={0}) LdapManagerDn= LdapAutoShadowing=false SmtpServer=localhost SmtpEncryption=None SmtpPort=25 SmtpUser= SmtpFrom=XXXXXXX CaptchaEnabled=false ReCaptchaSiteKey=XXXXXXX FullScanOnce=false CoverArtSource=TAGFILE HlsCommand3=ffmpeg -ss %o -t %d -i %s -async 1 -b:v %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f mpegts -c:v libx264 -preset superfast -c:a libmp3lame -threads 0 - spring.liquibase.parameters.defaultPodcastFolder=\\XXXXXXXXX\Podcasts EncryptionKeyPassword=XXXXX EncryptionKeySalt=XXXX UploadsFolder=%{['USER_MUSIC_FOLDERS'][0]}/Incoming EnableCueIndexing=false HideIndexedFiles=false FullScan=false ClearFullScanSettingAfterScan=false spring.liquibase.parameters.mysqlVarcharLimit=384 DbBackupUpdateInterval=168 DbBackupRetentionCount=3
Proxy Server
No response
client detail
Sonixd
language
None
Relevant log output