psidev.psi.mi.jami.exception.MIIOException: Impossible to read next interaction.


Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


,
via GitHub by Omertron

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859


5 months ago
Expert tip

Solutions on the web1

Solution icon of github
Impossible to read next interaction.

Stack trace

psidev.psi.mi.jami.exception.MIIOException: Impossible to read next interaction.
	at psidev.psi.mi.jami.xml.io.iterator.AbstractXmlIterator.processNextBinary(AbstractXmlIterator.java:53)
	at psidev.psi.mi.jami.xml.io.iterator.AbstractXmlIterator.<init>(AbstractXmlIterator.java:31)
	at psidev.psi.mi.jami.xml.io.iterator.XmlInteractionEvidenceIterator.<init>(XmlInteractionEvidenceIterator.java:17)
	at psidev.psi.mi.jami.xml.model.extension.datasource.XmlEvidenceStreamSource.createXmlIterator(XmlEvidenceStreamSource.java:84)
	at psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream.getInteractionsIterator(AbstractPsiXmlStream.java:108)
	at psidev.psi.mi.jami.xml.model.extension.datasource.DefaultPsiXmlStreamSource.getInteractionsIterator(DefaultPsiXmlStreamSource.java:44)
	at psidev.psi.mi.jami.examples.interactionviewer.ReadWriteJsonWithJami.main(ReadWriteJsonWithJami.java:79)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1967)
	at psidev.psi.mi.jami.xml.cache.PsiXmlFileIndexCache.buildPositionIndex(PsiXmlFileIndexCache.java:815)
	at psidev.psi.mi.jami.xml.cache.PsiXmlFileIndexCache.<init>(PsiXmlFileIndexCache.java:127)
	at psidev.psi.mi.jami.xml.io.parser.AbstractPsiXmlParser.initialiseDefaultCache(AbstractPsiXmlParser.java:1010)
	at psidev.psi.mi.jami.xml.io.parser.AbstractPsiXmlParser.initialiseEntryContext(AbstractPsiXmlParser.java:1001)
	at psidev.psi.mi.jami.xml.io.parser.AbstractPsiXmlParser.parseNextInteraction(AbstractPsiXmlParser.java:164)
	at psidev.psi.mi.jami.xml.io.iterator.AbstractXmlIterator.processNextBinary(AbstractXmlIterator.java:39)
	... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 month ago
Once, 4 months ago
7 times, 5 months ago
2 times, 9 months ago
2 times, 10 months ago
103 more bugmates