DSPACE-CRIS error load publications

35 views
Skip to first unread message

Vitor Rodrigues

unread,
Nov 21, 2016, 7:09:47 AM11/21/16
to DSpace Technical Support
Hello,

I got this error when i tried load the publications

2016-11-21 09:34:28,125 WARN  org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=7AC3DE4A841863ADB075FC76FC3B85BA:internal_error:-- URL Was: http://200.145.5.2/simple-search?query=&location=publications
-- Method: GET
-- Parameters were:
-- query: ""
-- location: "publications"

java.lang.NullPointerException
	at org.dspace.content.Community.findAllTop(Community.java:343)
	at org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:258)
	at org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:63)
	at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
	at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.dspace.app.webui.cris.filter.ExploreLocationFilter.doFilter(ExploreLocationFilter.java:88)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
2016-11-21 09:50:38,972 INFO  org.dspace.browse.BrowseEngine @ anonymous:session_id=30DDC7A7C7BE1EE762D0071E2232C74F:ip_addr=130.211.177.74:browse_mini:
2016-11-21 09:50:38,986 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ facets for scope, null: 1

Pascarelli Luigi Andrea

unread,
Nov 21, 2016, 9:26:26 AM11/21/16
to Vitor Rodrigues, dspac...@googlegroups.com
I checked your web application and I think that you have many problems not only this!

I see that you are testing the DSpace CRIS version 5.5.0 please download the last stable version 5.6.1 from https://github.com/4Science/DSpace.git (https://github.com/4Science/DSpace/releases/tag/dspace-cris-5.6.1)

In any case the error is related to this piece of code https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/Community.java#L343

Check your database maybe you fell into an installation issue.

Please open a database console and run this query:

select * from metadataschemaregistry where short_id = 'dc';

and this query:

select * from metadatafieldregistry where metadata_schema_id = 1 and element = 'title' and qualifier is null;

Let me know.

Best,

Luigi Andrea
--
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...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it 

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company 
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates

====================================
Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be legally protected by local Laws, 
and must be exclusively used by the recipient. The publication, use, distribution, printing or unauthorized copy 
of the content of this message is strictly forbidden and it can be illegal. If you received this message by mistake, 
please destroy it and notify it to the sender.

陳彥棠

unread,
Nov 22, 2016, 9:57:33 PM11/22/16
to DSpace Technical Support, vitor.silver...@gmail.com, LuigiAndrea...@4science.it

Dear Luigi Andrea

I try to install dspace-cris-5.6.1 ,
but step " Administrator Account: Create an initial administrator account"  has been wrong!


dspace create-administrator error message => dspace-cris-5.6.1.png

There is always an same error in this step that I install dspace-cris-5.6.1

Although dspace-cris-5.6.1 has started successfully , Administrator account is alway failure

but I install dspace-cris-5.5.0  step " Administrator Account: Create an initial administrator account"  no problem!


Installation environment

      jdk1.8.0_101
      postgresSQL 9.5
      tomcat 8.0.37  
      dspace-cris-5.6.1

Regards


Sincerly yours, Yen-Tang Chen


Pascarelli Luigi Andrea於 2016年11月21日星期一 UTC+8下午10時26分26秒寫道:
dspace-cris-5.6.1.png

Vitor Rodrigues

unread,
Nov 23, 2016, 8:04:09 AM11/23/16
to DSpace Technical Support, vitor.silver...@gmail.com, LuigiAndrea...@4science.it
Thank you so much Luigi Andrea Pascarelli,

I merged with cris 5.6.1 and everything backs to normal. It works now.
Reply all
Reply to author
Forward
0 new messages