Null Pointer issue Issue reading Wav file with more than 2GB of data

Description

25/08/2019 14.22.11:CDT:LoadFiles:addNewFiles:SEVERE: Failed AddSongToDatabase for file:J:\Music\DTS Multichannel Files\Converted Files\Chicago – Chicago Transit Authority.wav:null
java.lang.IllegalArgumentException
at java.base/sun.nio.ch.FileChannelImpl.position(Unknown Source)
at org.jaudiotagger.audio.wav.WavInfoReader.readChunk(WavInfoReader.java:158)
at org.jaudiotagger.audio.wav.WavInfoReader.read(WavInfoReader.java:67)
at org.jaudiotagger.audio.wav.WavFileReader.getEncodingInfo(WavFileReader.java:45)
at org.jaudiotagger.audio.generic.AudioFileReader2.read(AudioFileReader2.java:63)
at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:361)
at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:197)
at com.jthink.songkong.fileloader.LoadFiles.addNewFiles(LoadFiles.java:145)
at com.jthink.songkong.fileloader.LoadFolderWorker.loadFiles(LoadFolderWorker.java:482)
at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:122)
at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:35)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
25/08/2019 14.22.11:CDT:Errors:addError:SEVERE: Adding Error:J:\Music\DTS Multichannel Files\Converted Files\Chicago – Chicago Transit Authority.wav:null
java.lang.Exception
at com.jthink.songkong.analyse.general.Errors.addError(Errors.java:28)
at com.jthink.songkong.fileloader.LoadFiles.addNewFiles(LoadFiles.java:197)
at com.jthink.songkong.fileloader.LoadFolderWorker.loadFiles(LoadFolderWorker.java:482)
at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:122)
at com.jthink.songkong.fileloader.LoadFolderWorker.call(LoadFolderWorker.java:35)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
25/08/2019 14.22.11:CDT:WavTagReader:read:SEVERE: J:\Music\DTS Multichannel Files\Converted Files\Chicago – Chicago V.wav Read Tag:start

Environment

None

Status

Assignee

Unassigned

Reporter

IJabz

Labels

None

Forum Username

JRobbins

os

None

Fix versions

Priority

Major
Configure