Sakai JIRA | Ondřej Košarko | 4 months ago
  1. 0

    I'm seeing a NPE when I try to harvest a collection with current master (008ad12). Java stacktrace: java.lang.NullPointerException at org.dspace.core.AbstractHibernateDAO.getHibernateSession( at org.dspace.core.AbstractHibernateDAO.findByID( at org.dspace.content.CollectionServiceImpl.find( at org.dspace.content.CollectionServiceImpl.find( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.mozilla.javascript.MemberBox.invoke( ... The actual error seems to be that the instance I am harvesting from has some extra schemas. 2016-09-30 08:44:34,476 ERROR org.dspace.harvest.OAIHarvester @ Error occurred while generating an OAI response: The 'xxx' schema has not been defined in this DSpace instance. null org.dspace.content.crosswalk.CrosswalkException: The 'xxx' schema has not been defined in this DSpace instance. at org.dspace.content.crosswalk.CrosswalkMetadataValidator.checkMetadata( at org.dspace.content.crosswalk.DIMIngestionCrosswalk.ingest( at org.dspace.harvest.OAIHarvester.processRecord( at org.dspace.harvest.OAIHarvester.runHarvest( This is kind of not surprising...otherwise harvesting DIM metadata format would mean potentially creating missing schemas/elements. That's not supposed to be happening, or is it?

    Sakai JIRA | 4 months ago | Ondřej Košarko
  2. 0
    The Fragment was destroyed, and getActivity() returned null. Don't destroy the Fragment.
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 1 year ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.lang.NullPointerException

      No message provided

      at org.dspace.core.AbstractHibernateDAO.getHibernateSession()
    2. DSpace Kernel :: API and Implementation
      1. org.dspace.core.AbstractHibernateDAO.getHibernateSession(
      2. org.dspace.core.AbstractHibernateDAO.findByID(
      3. org.dspace.content.CollectionServiceImpl.find(
      4. org.dspace.content.CollectionServiceImpl.find(
      4 frames
    3. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(
      4. java.lang.reflect.Method.invoke(
      4 frames
    4. Rhino
      1. org.mozilla.javascript.MemberBox.invoke(
      1 frame