java.util.ConcurrentModificationException

Sakai JIRA | Jim Blake | 4 years ago
  1. 0

    2013-04-27 16:56:38,693 ERROR [SimpleReasoner] Exception while adding inference(s) java.util.ConcurrentModificationException at com.hp.hpl.jena.mem.ArrayBunch$2.hasNext(ArrayBunch.java:109) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.allTypes(OWLProfile.java:241) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.hasType(OWLProfile.java:284) at com.hp.hpl.jena.ontology.impl.OWLProfile$3.doCheck(OWLProfile.java:331) at com.hp.hpl.jena.ontology.impl.OWLProfile.isSupported(OWLProfile.java:199) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.canWrap(OntClassImpl.java:90) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:78) at com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:84) at com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:130) at com.hp.hpl.jena.ontology.impl.OntModelImpl.findByURIAs(OntModelImpl.java:2768) at com.hp.hpl.jena.ontology.impl.OntModelImpl.getOntClass(OntModelImpl.java:869) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasoner.addedTBoxStatement(SimpleReasoner.java:239) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasonerTBoxListener$TBoxUpdateProcessor.run(SimpleReasonerTBoxListener.java:104)

    Sakai JIRA | 4 years ago | Jim Blake
    java.util.ConcurrentModificationException
  2. 0

    2013-04-27 16:56:38,693 ERROR [SimpleReasoner] Exception while adding inference(s) java.util.ConcurrentModificationException at com.hp.hpl.jena.mem.ArrayBunch$2.hasNext(ArrayBunch.java:109) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.allTypes(OWLProfile.java:241) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.hasType(OWLProfile.java:284) at com.hp.hpl.jena.ontology.impl.OWLProfile$3.doCheck(OWLProfile.java:331) at com.hp.hpl.jena.ontology.impl.OWLProfile.isSupported(OWLProfile.java:199) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.canWrap(OntClassImpl.java:90) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:78) at com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:84) at com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:130) at com.hp.hpl.jena.ontology.impl.OntModelImpl.findByURIAs(OntModelImpl.java:2768) at com.hp.hpl.jena.ontology.impl.OntModelImpl.getOntClass(OntModelImpl.java:869) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasoner.addedTBoxStatement(SimpleReasoner.java:239) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasonerTBoxListener$TBoxUpdateProcessor.run(SimpleReasonerTBoxListener.java:104)

    Sakai JIRA | 4 years ago | Jim Blake
    java.util.ConcurrentModificationException
  3. 0

    Moved from https://issues.library.cornell.edu/browse/NIHVIVO-3903: A bunch (thousands) of these appeared when loading the ISF. It looks like addedTBoxStatement() is not acquiring a read lock on tboxModel before it attempts to call getOntClass(). 2012-07-12 14:53:02,965 ERROR [SimpleReasoner] Exception while adding inference(s) java.util.ConcurrentModificationException at com.hp.hpl.jena.mem.HashCommon$BasicKeyIterator.hasNext(HashCommon.java:338) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.allTypes(OWLProfile.java:241) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.hasType(OWLProfile.java:284) at com.hp.hpl.jena.ontology.impl.OWLProfile$3.doCheck(OWLProfile.java:331) at com.hp.hpl.jena.ontology.impl.OWLProfile.isSupported(OWLProfile.java:199) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.canWrap(OntClassImpl.java:90) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:78) at com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:84) at com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:130) at com.hp.hpl.jena.ontology.impl.OntModelImpl.findByURIAs(OntModelImpl.java:2768) at com.hp.hpl.jena.ontology.impl.OntModelImpl.getOntClass(OntModelImpl.java:869) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasoner.addedTBoxStatement(SimpleReasoner.java:234) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasonerTBoxListener$TBoxUpdateProcessor.run(SimpleReasonerTBoxListener.java:104)

    Sakai JIRA | 3 years ago | Jon Corson-Rikert
    java.util.ConcurrentModificationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Moved from https://issues.library.cornell.edu/browse/NIHVIVO-3903: A bunch (thousands) of these appeared when loading the ISF. It looks like addedTBoxStatement() is not acquiring a read lock on tboxModel before it attempts to call getOntClass(). 2012-07-12 14:53:02,965 ERROR [SimpleReasoner] Exception while adding inference(s) java.util.ConcurrentModificationException at com.hp.hpl.jena.mem.HashCommon$BasicKeyIterator.hasNext(HashCommon.java:338) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64) at com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.allTypes(OWLProfile.java:241) at com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.hasType(OWLProfile.java:284) at com.hp.hpl.jena.ontology.impl.OWLProfile$3.doCheck(OWLProfile.java:331) at com.hp.hpl.jena.ontology.impl.OWLProfile.isSupported(OWLProfile.java:199) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.canWrap(OntClassImpl.java:90) at com.hp.hpl.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:78) at com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:84) at com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:130) at com.hp.hpl.jena.ontology.impl.OntModelImpl.findByURIAs(OntModelImpl.java:2768) at com.hp.hpl.jena.ontology.impl.OntModelImpl.getOntClass(OntModelImpl.java:869) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasoner.addedTBoxStatement(SimpleReasoner.java:234) at edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasonerTBoxListener$TBoxUpdateProcessor.run(SimpleReasonerTBoxListener.java:104)

    Sakai JIRA | 3 years ago | Jon Corson-Rikert
    java.util.ConcurrentModificationException
  6. 0

    Java Servlets and ImageIO error

    Stack Overflow | 4 years ago | mesx
    java.util.ConcurrentModificationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at com.hp.hpl.jena.mem.ArrayBunch$2.hasNext()
    2. Apache Jena - Core
      OntModelImpl.getOntClass
      1. com.hp.hpl.jena.mem.ArrayBunch$2.hasNext(ArrayBunch.java:109)
      2. com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
      3. com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43)
      4. com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
      5. com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
      6. com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
      7. com.hp.hpl.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:43)
      8. com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86)
      9. com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86)
      10. com.hp.hpl.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:64)
      11. com.hp.hpl.jena.util.iterator.NiceIterator$1.hasNext(NiceIterator.java:86)
      12. com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.allTypes(OWLProfile.java:241)
      13. com.hp.hpl.jena.ontology.impl.OWLProfile$SupportsCheck.hasType(OWLProfile.java:284)
      14. com.hp.hpl.jena.ontology.impl.OWLProfile$3.doCheck(OWLProfile.java:331)
      15. com.hp.hpl.jena.ontology.impl.OWLProfile.isSupported(OWLProfile.java:199)
      16. com.hp.hpl.jena.ontology.impl.OntClassImpl$1.canWrap(OntClassImpl.java:90)
      17. com.hp.hpl.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:78)
      18. com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:84)
      19. com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:130)
      20. com.hp.hpl.jena.ontology.impl.OntModelImpl.findByURIAs(OntModelImpl.java:2768)
      21. com.hp.hpl.jena.ontology.impl.OntModelImpl.getOntClass(OntModelImpl.java:869)
      21 frames
    3. edu.cornell.mannlib
      SimpleReasonerTBoxListener$TBoxUpdateProcessor.run
      1. edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasoner.addedTBoxStatement(SimpleReasoner.java:239)
      2. edu.cornell.mannlib.vitro.webapp.reasoner.SimpleReasonerTBoxListener$TBoxUpdateProcessor.run(SimpleReasonerTBoxListener.java:104)
      2 frames