I can verify that the "chopped off" issue is no longer a problem in 4.7 beta 1. i have it running and it works fine on Android.
Cheers.
Moderator: moderators
andu_ wrote:I didn't have any issues until I updated Java today. Then I received the below error in my Artist Browser window (Version and Server info after error):
Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.
Exception java.lang.IllegalArgumentException
Message Comparison method violates its general contract!
Java version Oracle Corporation 1.7.0_05
Operating system Windows 7 6.1
Server jetty-6.1.x
Memory Used 54 of 111 MB
Stack trace java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(Unknown Source)
at java.util.TimSort.mergeAt(Unknown Source)
at java.util.TimSort.mergeCollapse(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(MediaFileService.java:212)
at net.sourceforge.subsonic.service.MusicIndexService.createArtistsByFolderStructure(MusicIndexService.java:143)
at net.sourceforge.subsonic.service.MusicIndexService.createArtists(MusicIndexService.java:131)
at net.sourceforge.subsonic.service.MusicIndexService.getIndexedArtists(MusicIndexService.java:66)
at net.sourceforge.subsonic.controller.LeftController.getMusicFolderContent(LeftController.java:218)
Version 4.7.beta2 (build 3012) – June 9, 2012
Server jetty-6.1.x, java 1.7.0_05, Windows 7 (60.8 MB / 111.1 MB)
sindre_mehus wrote:This sounds like a bug in my code. To help me track it down, can you please describe what you have in your root music folder? Do you have only artist directories, or also album directories and/or individual songs?
pemholder wrote:sindre_mehus wrote:This sounds like a bug in my code. To help me track it down, can you please describe what you have in your root music folder? Do you have only artist directories, or also album directories and/or individual songs?
Your hint made me think over my changes I made. I wrote that the problem occured when I changed from 4.7 Beta1 to Beta2.
I now remembered that I added another folder to the music library at the same time.
This music folder has a Album directory in the root.
So I made some tests:
If I deactive the albums-folder all works fine.
If I activate it again I get the same error.
Next i added another album folder. There was no error.
Then I added a folder with individual songs. There was no error.
All I can say now is, that the problem has to do with album-folders in the root.
But as the error did not show up with every added album folders in the root.
select * from media_folder where parent_path = 'c:/music'
select * from media_folder where parent_path = 'c:/music'
Error
Table not found in statement [select * from media_folders]
select * from media_file where parent_path = 'c:/music'
Users browsing this forum: No registered users and 4 guests