[dspace-tech] DSpace 6.0 error with Community List (update)
Hello, Everyone: I just wanted to send an update to the list on my problem. To refresh everyone's memory, I am upgrading from DSpace 5.5 (XMLUI with modified Mirage2) to DSpace 6.0. Everything works fine EXCEPT when I execute http:// /community-list command which results in an internal server error. Working with Hardy Pottinger (thanks, Hardy), I tried a number of different things. I was able to determine via the REST api that the communities and collections are OK. I brought up a vanilla version of DSpace 6.0 and tried just using the JSPUI interface, but I got the same error. I also tried a different vanilla theme like Mirage and Reference, but, also the same problem. It seems that no matter what I do, the community-list command fails with "Could not read resource cocoon://DRI/8/community-list" and java.lang.NullPointerException at org.dspace.content. DSpaceObjectServiceImpl.match(DSpaceObjectServiceImpl.java:427) At this point I am leaning toward not doing the upgrade, since I have been banging away at this since January, and haven't been able to figure out what is causing this error. -- *** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 <(607)%20255-8924> g...@cornell.edu -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
Re: [dspace-tech] DSpace 6.0 error with Community List
Hardy: Just an update on my problem. I did the tests you mentioned and they didn't show any errors, but when I did the actual mvn build and ant update, I ran into the same problem. I stripped out all of my local modifications (except for local.cfg) and recompiled again, and still the same problem with the community-list command (everything else seems to work) and in the "vanilla" version, the list of communities shows up OK on the home page, so I know that there isn't a SQL problem. I'm really stumped. Could some setting in the local.cfg be causing this? George Kozak Cornell University On Sat, Mar 18, 2017 at 11:20 AM, Hardy Pottinger wrote: > 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 - > > resource://aspects/Discovery/sitemap.xmap:223:40 > > > at - resource://aspects/Discovery/s > itemap.xmap:79:47 > > at - resource://aspects/Discovery/sitemap.xmap:67:28 > > > at - resource://aspects/Administrat > ive/sitemap.xmap:1077:31 > > at - > > resource://aspects/Administrative/sitemap.xmap:299:38 > > > at - > resource://aspects/Administrative/sitemap.xmap:298:44 > > at - resource://aspects/Administrat > ive/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 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 - 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> >> g...@cornell.edu >> >> -- >> 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 dspace-tech+unsubscr...@googlegroups.com. >> To post to this group, send email to dspace-tech@googlegroups.com. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > -- *** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 g...@cornell.edu -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@goo
Re: [dspace-tech] DSpace 6.0 error with Community List
Thanks, Hardy: I will give it a try and see what I can find. George Kozak Cornell Univeristy On Sat, Mar 18, 2017 at 11:20 AM, Hardy Pottinger wrote: > 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 - > > resource://aspects/Discovery/sitemap.xmap:223:40 > > > at - resource://aspects/Discovery/s > itemap.xmap:79:47 > > at - resource://aspects/Discovery/sitemap.xmap:67:28 > > > at - resource://aspects/Administrat > ive/sitemap.xmap:1077:31 > > at - > > resource://aspects/Administrative/sitemap.xmap:299:38 > > > at - > resource://aspects/Administrative/sitemap.xmap:298:44 > > at - resource://aspects/Administrat > ive/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 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 - 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> >> g...@cornell.edu >> >> -- >> 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 dspace-tech+unsubscr...@googlegroups.com. >> To post to this group, send email to dspace-tech@googlegroups.com. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > -- *** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 g...@cornell.edu -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
Re: [dspace-tech] DSpace 6.0 error with Community List
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 - > resource://aspects/Discovery/sitemap.xmap:223:40 > at - resource://aspects/Discovery/ sitemap.xmap:79:47 > at - resource://aspects/Discovery/sitemap.xmap:67:28 > at - resource://aspects/ Administrative/sitemap.xmap:1077:31 > at - resource://aspects/ Administrative/sitemap.xmap:299:38 > at - resource://aspects/ Administrative/sitemap.xmap:298:44 > at - 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 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 - 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> > g...@cornell.edu > > -- > 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 dspace-tech+unsubscr...@googlegroups.com. > To post to this group, send email to dspace-tech@googlegroups.com. > 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
[dspace-tech] DSpace 6.0 error with Community List
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 - resource://aspects/Discovery/ sitemap.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 g...@cornell.edu -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.