-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: A lot (!) of errors when opening homepage #432
Comments
@bartmans |
Update over my existing Edge install, still get a lot of errors: java.lang.RuntimeException: java.lang.NullPointerException: Cannot read the array length because "" is null |
@bartmans |
No, deleted cover art files still trigger these warnings. I tried cleaning the database. But I see no mention of it in the logs when I do, no logging at all. So maybe the expunge action is failing? 2024-05-10 16:20:43.583 INFO --- org.airsonic.player.Application : Starting Application using Java 17.0.10 with PID 1 (/app/WEB-INF/classes started by au in /var) 2024-05-10 16:21:02.627 INFO --- liquibase.util.ShowSummaryUtil : Update summary generated java.nio.file.NoSuchFileException: /music/Kindermuziek/Kinderen Voor Kinderen/2016 - Kinderen Voor Kinderen - 37/Folder.jpg 2024-05-10 16:28:58.642 WARN --- o.a.p.s.CoverArtCreateService : Failed to process cover art org.airsonic.player.domain.CoverArt@151cfe67: getImageInputStream failed java.nio.file.NoSuchFileException: /music/Kindermuziek/K3/Kom erbij (Live) (2022)/folder.jpg 2024-05-10 16:29:30.655 WARN --- o.airsonic.player.util.FileUtil : Could not get file modify date for /music/Kindermuziek/K3/Kusjes/Folder.jpg java.nio.file.NoSuchFileException: /music/Kindermuziek/K3/Kusjes/Folder.jpg 2024-05-10 16:29:31.194 WARN --- o.a.p.s.CoverArtCreateService : Failed to process cover art org.airsonic.player.domain.CoverArt@15052aab: getImageInputStream failed java.nio.file.NoSuchFileException: /music/Prince/Live/Live In The Netherlands/Prince 1990-06-03 Rotterdam, Holland flac/FA.jpg 2024-05-10 16:29:49.242 WARN --- o.a.p.s.CoverArtCreateService : Failed to process cover art org.airsonic.player.domain.CoverArt@150e6c79: getImageInputStream failed java.nio.file.NoSuchFileException: /music/Prince/Live/Live In The Netherlands/1990/Prince 1990-06-03 Rotterdam, Holland flac/FA.jpg 2024-05-10 16:29:49.265 WARN --- o.a.p.s.CoverArtCreateService : Failed to process cover art org.airsonic.player.domain.CoverArt@150eb711: getImageInputStream failed |
@bartmans |
Not quite there yet. 2024-05-10 17:40:49.726 INFO --- liquibase.util.ShowSummaryUtil : Update summary generated org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:32.752 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:32.760 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:32.752 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:32.752 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.102 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:33.105 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:33.105 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:33.104 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:33.107 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.307 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:33.306 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:33.309 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.306 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:33.311 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:33.492 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:33.492 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:33.490 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:33.496 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.498 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:33.678 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:33.682 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.679 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:33.683 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:33.684 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:33.884 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:33.884 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:33.885 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:33.884 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:33.885 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:42.212 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock 2024-05-10 17:42:42.215 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST_ID3 org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist_id3/write.lock 2024-05-10 17:42:42.212 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album/write.lock 2024-05-10 17:42:42.217 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for SONG org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/song/write.lock 2024-05-10 17:42:42.216 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock 2024-05-10 17:42:45.494 ERROR --- o.a.p.s.LoggingExceptionResolver : 192.168.178.2: An exception occurred while loading https://airsonic.gufp.nl/musicFolderSettings.view?expunge java.lang.NullPointerException: Cannot invoke "org.apache.lucene.index.IndexWriter.deleteDocuments(org.apache.lucene.index.Term[])" because the return value of "java.util.Map.get(Object)" is null 2024-05-10 17:42:45.923 ERROR --- o.a.p.s.LoggingExceptionResolver : 192.168.178.2: An exception occurred while loading https://airsonic.gufp.nl/musicFolderSettings.view?expunge java.lang.NullPointerException: Cannot invoke "org.apache.lucene.index.IndexWriter.deleteDocuments(org.apache.lucene.index.Term[])" because the return value of "java.util.Map.get(Object)" is null |
@bartmans |
Well I messed that up. Had to start with no db, no index19, no thumbs. I don't see the errors about not finding deleted files anymore, but can't really test that now. When AS is finished indexing and rebuilding I will remove some cover art to try again. |
Don't see the 'file not found' message for Coverart anymore. So that's an improvement. But still some other errors: 2024-05-13 09:36:40.403 INFO --- o.a.p.service.DatabaseService : Automatic DB backup scheduled to run every 24 hour(s), starting at 2024-05-13T07:41:40.395225073Z org.springframework.dao.DataIntegrityViolationException: could not execute statement [integrity constraint violation: foreign key no parent ; PQF_MF_FK table: PLAY_QUEUE_FILE value: 56070] [insert into play_queue_file (play_queue_id,media_file_id) values (?,?)]; SQL [insert into play_queue_file (play_queue_id,media_file_id) values (?,?)]; constraint [PQF_MF_FK] 2024-05-13 17:24:29.951 WARN --- o.a.player.filter.RESTFilter : Error in REST API org.springframework.dao.DataIntegrityViolationException: could not execute statement [integrity constraint violation: foreign key no parent ; PQF_MF_FK table: PLAY_QUEUE_FILE value: 56070] [insert into play_queue_file (play_queue_id,media_file_id) values (?,?)]; SQL [insert into play_queue_file (play_queue_id,media_file_id) values (?,?)]; constraint [PQF_MF_FK] 2024-05-13 17:24:30.464 INFO --- o.a.p.c.StreamController : 109.37.139.30: bart listening to 1990 - Aion/03. Mephisto.mp3 in folder 0 |
…cache when performing playqueue save
@bartmans |
I don't see the error anymore with PR-456. |
…und-error #432 check media file existence before getting cover art
Edit: this looks like maybe same issue: #412
What happened?
When I open the homepage the log starts filling up with errors. Latest edge-releases are also a lot slower in opening.
Steps to reproduce
Open the homepage.
Version
11.1.4-SNAPSHOT (Edge)
Version Detail
11.1.4-SNAPSHOT.20240422104445
Operating System
Docker on Synology
Java Version
17
Database
Other
DB Detail
sqlite
Configuration paramter
Airsonic preferences. NOTE: This file is automatically generated. Do not modify while application is running
Airsonic preferences. NOTE: This file is automatically generated. Do not modify while application is running
EncryptionKeyPassword=
EncryptionKeySalt=
SettingsChanged=1714041793916
JWTKey=
DlnaEnabled=false
DlnaServerName=Airsonic
DlnaBaseLANURL=http://192.168.178.25/airsonic/
DlnaServerId=8c88e797-a32e-4380-8cb1-537d025239de
IndexString=A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ)
IgnoredArticles=The El La Los Las Le Les De Het Een
GenreSeparators=;
Shortcuts=
PlaylistFolder=/playlists
MusicFileTypes=mp3 ogg oga aac m4a m4b flac wav wma aif aiff ape mpc shn mka opus alm 669 mdl far xm mod fnk imf it liq wow mtm ptm rtm stm s3m ult dmf dbm med okt emod sfx m15 mtn amf gdm stx gmc psm j2b umx amd rad hsc flx gtk mgt mtp wv
VideoFileTypes=flv avi mpg mpeg mp4 m4v mkv mov wmv ogv divx m2ts webm
CoverArtFileTypes2=cover.jpg cover.png cover.gif folder.jpg jpg jpeg gif png
CoverArtSource=FILETAG
CoverArtConcurrency=4
CoverArtQuality=90
SortAlbumsByYear=false
GettingStartedEnabled=false
WelcomeTitle=Sepulchrijn: Bart's Muziek
WelcomeSubtitle=Beta
WelcomeMessage2=
LoginMessage=
server.servlet.session.timeout=3600m
Theme=ripserver
LocaleLanguage=nl
LocaleCountry=
LocaleVariant=
IndexCreationInterval=1
IndexCreationHour=2
FastCacheEnabled=false
OrganizeByFolderStructure=true
UploadsFolder=%{['USER_MUSIC_FOLDERS'][0]}/Incoming
ExcludePattern=#recycle|@eadir|gsdata
IgnoreSymLinks=true
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=
SmtpEncryption=SSL/TLS
SmtpPort=465
SmtpUser=
SmtpFrom=
SmtpPassword=
CaptchaEnabled=false
ReCaptchaSiteKey=
HideIndexedFiles=false
PodcastUpdateInterval=-1
PodcastEpisodeRetentionCount=2
PodcastEpisodeDownloadCount=0
spring.liquibase.parameters.mysqlVarcharLimit=384
DbBackupUpdateInterval=24
DbBackupRetentionCount=5
EnableCueIndexing=false
FullScan=false
ClearFullScanSettingAfterScan=false
Proxy Server
Synology Nginx
client detail
Firefox and Chrome
language
Dutch
Relevant log output
The text was updated successfully, but these errors were encountered: