Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-205

NPE on document intranet service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      I add a the service "Flux de document" on a Intranet site.

      Caused by: java.lang.NullPointerException
      	at org.ametys.intranet.documents.generators.DocumentStreamGenerator._saxDocument(DocumentStreamGenerator.java:154)
      	at org.ametys.intranet.documents.generators.DocumentStreamGenerator$$Lambda$211/2036894975.accept(Unknown Source)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at org.ametys.intranet.documents.generators.DocumentStreamGenerator.generate(DocumentStreamGenerator.java:116)
      

      It seems due to the Solr search which return a resource of a page (attachment). I have the following warning in logs

      No project found for ametys object with id 'page://151f2461-0627-4efe-8788-3b221e2027de'
      

      I did a full reindexation but the service is still in error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sprieul Simon Prieul
                Reporter:
                laurence Laurence Aumeunier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: