Skip to content

ConcurrentModificationException  #60

@Sarun1001

Description

@Sarun1001

java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at co.mobiwise.library.radio.RadioPlayerService.notifyMetaDataChanged(RadioPlayerService.java:389)
at co.mobiwise.library.radio.RadioPlayerService.playerMetadata(RadioPlayerService.java:358)
at com.spoledge.aacdecoder.IcyInputStream.parseMetadata(IcyInputStream.java:231)
at com.spoledge.aacdecoder.IcyInputStream.fetchMetadata(IcyInputStream.java:205)
at com.spoledge.aacdecoder.IcyInputStream.read(IcyInputStream.java:133)
at com.spoledge.aacdecoder.BufferReader.run(BufferReader.java:155)
at java.lang.Thread.run(Thread.java:818)

I think the library tries to modify the list (by adding or removing elements) while traversing a list with Iterator.
And it is pointing to this function inside the lib

 private void notifyMetaDataChanged(String s, String s2) {
        Iterator var3 = this.mListenerList.iterator();

        while(var3.hasNext()) {
            RadioListener mRadioListener = (RadioListener)var3.next();
            mRadioListener.onMetaDataReceived(s, s2);
        }

    }

Any Idea guys ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions