Hi, George, I went back to one of your earlier e-mails, and will include your info re: the Cocoon log here:
> I did find the following error in the cocoon log: > > 2017-02-17 09:07:22,465 ERROR cocoon.handled - Could not read resource cocoon://DRI/8/community-list > at <map:serialize type="xml"> - > resource://aspects/Discovery/sitemap.xmap:223:40 > at <map:transform type="Navigation"> - resource://aspects/Discovery/ sitemap.xmap:79:47 > at <map:generate> - resource://aspects/Discovery/sitemap.xmap:67:28 > at <map:serialize type="xml"> - resource://aspects/ Administrative/sitemap.xmap:1077:31 > at <map:transform type="Navigation"> - resource://aspects/ Administrative/sitemap.xmap:299:38 > at <map:transform type="SystemwideAlerts"> - resource://aspects/ Administrative/sitemap.xmap:298:44 > at <map:generate> - resource://aspects/Administrative/sitemap.xmap:296:19 > (continues) I've seen this behavior on occasion, I suspect that you may have a small error in one of your XML or XSLT theme files. You can either validate them each by hand: xmllint --noout name-of-file.xml works well. However, there is a built-in test in DSpace that will do this for you. Just run the tests [1]: mvn test -Dmaven.test.skip=false If there is an error in any of your XML or XSLT, the tests will find it. Hope that helps! --Hardy [1] https://wiki.duraspace.org/display/DSPACE/DSpace+Testing On Fri, Mar 17, 2017 at 6:04 PM, George Kozak <[email protected]> wrote: > Hi... > My Third Try is getting an answer :-) > So, I'm stuck. I can't upgrade from DSpace 5.5 to DSpace 6.0 because > after doing the upgrade the command: http://my.dspace.url/community-list > causes > an error. > I am using a modified Mirage2 theme, but the problem occurs in JSPUI and > even vanilla code and in any other theme. > Does anyone have any ideas for me? I have tried 5 times to upgrade > (blowing away the upgrade and reverting back to 5.5 each time), and each > time no matter what I do, I get the same error after the upgrade (PS: the > community-list command works fine in 5.5). > > I guess if I don't hear from anyone, I will assume that this problem is > unique to Cornell's installation, and we can't upgrade. > > My previous emails contained the java stack traces, but here is a snippet, > if it helps anyone: > Cocoon error: > ERROR cocoon.handled - Could not read resource > cocoon://DRI/8/community-list > at <map:serialize type="xml"> - resource://aspects/Discovery/s > itemap.xmap:223:40 > > Java error: > > Java stacktrace: java.lang.NullPointerException > at > org.dspace.content.DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427) > at > org.dspace.content.DSpaceObjectServiceImpl.getMetadata(DSpaceObjectServiceImpl.java:131) > at > org.dspace.content.DSpaceObjectServiceImpl.getMetadataFirstValue(DSpaceObjectServiceImpl.java:380) > at > org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:395) > at > org.dspace.content.CollectionServiceImpl.getMetadata(CollectionServiceImpl.java:43) > at > org.dspace.app.xmlui.utils.DSpaceValidity.add(DSpaceValidity.java:271) > at > org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser.getValidity(CommunityBrowser.java:160) > > -- > *************************** > George Kozak > Digital Library Specialist > Cornell University Library - IT > 218 Olin Library > Cornell University > Ithaca, NY 14853 > 607-255-8924 <(607)%20255-8924> > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
