org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer

Google Groups | Wang, Yongming | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    new user registration problem

    Google Groups | 2 months ago | Wang, Yongming
    org.apache.cocoon.ResourceNotFoundException: Page cannot
  2. 0

    The upload page during submission fails when dc.title.alternative is enabled in config/spring/api/sherpa.xml and Sherpa/Romeo comes across a journal title it doesn't know (e.g. "Journal ABC"). This doesn't happen in the demo repository, I presume because Sherpa/Romeo is enabled with the default configuration of /config/ spring/api/sherpa.xml (it uses dc.identifier.issn, not dc.title.alternative). The error above only occurs when Sherpa/Romeo takes its information from dc.title.alternative. An unknown ISSN in dc.identifier.issn doesn't cause any problems. Repositories which use dc.title.alternative for Sherpa/Romeo (alternatively or additionally to dc.identifier.issn) will probably experience that the upload step fails when Sherpa/Romeo doesn't know the journal title. Error on the upload page: Java stacktrace: java.lang.NullPointerException at org.dspace.app.sherpa.submit.SHERPASubmitService.getISSNs(SHERPASubmitService.java:75) at org.dspace.app.sherpa.submit.SHERPASubmitService.hasISSNs(SHERPASubmitService.java:84) at org.dspace.app.xmlui.aspect.submission.submit.UploadStep.make_sherpaRomeo_submission(UploadStep.java:383) at org.dspace.app.xmlui.aspect.submission.submit.UploadStep.addBody(UploadStep.java:254) at org.dspace.app.xmlui.aspect.submission.StepTransformer.addBody(StepTransformer.java:145) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/app/sherpa/submit/SHERPASubmitService.java#L75

    Sakai JIRA | 2 years ago | Franziska Ackermann
    java.lang.NullPointerException
  3. 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. org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer

      No message provided

      at sun.reflect.GeneratedMethodAccessor114.invoke()
    2. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames