Glad to hear it, Zhongping!

As a side note: If anyone else ever hits this same problem in the future, I'm 
working on a way to allow anyone to re-run​ any of these post-migration scripts 
(like the SiteServiceInitializer) at any time just in case one randomly fails 
(like seems to have been the case here). See 
https://github.com/DSpace/DSpace/pull/7945   I'm hoping this will be in 
7.1...as this would let others solve this problem without having to drop the 
entire database & rerunning the migration on a new/fresh database.

Tim
________________________________
From: [email protected] <[email protected]> on 
behalf of Zhongping Yan <[email protected]>
Sent: Wednesday, September 15, 2021 3:50 PM
To: DSpace Community <[email protected]>
Subject: Re: [dspace-community] Cannot Load Home Page and Had Exception

Hi Tim,

I dropped the database and did "./dspace database migrate" on a new database. 
It worked and I can reach to Home page. I created/edited community, collection. 
My local DSpace works well.

Thank you so much for help.

Zhongping


On Wednesday, September 15, 2021 at 2:18:59 PM UTC-4 Tim Donohue wrote:
Hi Zhongping,

That's really odd, as the Site object is supposed to be created automatically 
after​ all Migrations run by our SiteServiceInitializer: 
https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/storage/rdbms/SiteServiceInitializer.java#L41

This is the first time I've ever heard of database migrations succeeding​ while 
the SiteServiceInitializer somehow fails​.  Is there any chance you have your 
'dspace.log' from when you installed DSpace 7 to see what error is thrown by 
the SiteServiceInitializer?

Unfortunately, since we've never seen this happen, there doesn't yet seem to be 
a script to create the Site object in a different way.  Since it sounds like 
you've not added any content, you may want to drop your (empty) database and 
try the entire "./dspace database migrate" option again (paying close attention 
to the dspace.log to see if it again throws errors when creating the Site 
object).  At the very least that'd give us more information on what could be 
going wrong in your installation such that the Site object doesn't get 
initialized properly.

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Zhongping Yan <[email protected]>
Sent: Wednesday, September 15, 2021 1:01 PM
To: DSpace Community <[email protected]>
Subject: Re: [dspace-community] Cannot Load Home Page and Had Exception

Hi Tim,

Thank you for your reply. When I installing backend, I ran command "./dspace 
database migrate". After read your email, I did query in dspace database 
"select * from site" and got nothing.
Below is the result of command './dspace database info'.

C:\Tools\dspace\bin>dspace database info
Using DSpace installation in: C:\Tools\dspace

Database Type: postgres
Database URL: jdbc:postgresql://localhost:5432/dspace
Database Schema: public
Database Username: dspace
Database Software: PostgreSQL version 13.4
Database Driver: PostgreSQL JDBC Driver version 42.2.9
PostgreSQL 'pgcrypto' extension installed/up-to-date? true (version=1.3)
FlywayDB Version: 6.5.5

+-----------+----------------+-----------------------------------------------------+----------+---------------------+----------+
| Category  | Version        | Description                                      
   | Type     | Installed On        | State    |
+-----------+----------------+-----------------------------------------------------+----------+---------------------+----------+
|           | 1              | << Flyway Baseline >>                            
   | BASELINE | 2021-09-10 13:54:13 | Baseline |
| Versioned | 1.1            | Initial DSpace 1.1 database schema               
   | SQL      | 2021-09-10 13:54:27 | Success  |
| Versioned | 1.2            | Upgrade to DSpace 1.2 schema                     
   | SQL      | 2021-09-10 13:54:46 | Success  |
| Versioned | 1.3            | Upgrade to DSpace 1.3 schema                     
   | SQL      | 2021-09-10 13:54:48 | Success  |
| Versioned | 1.3.9          | Drop constraint for DSpace 1 4 schema            
   | JDBC     | 2021-09-10 13:54:52 | Success  |
| Versioned | 1.4            | Upgrade to DSpace 1.4 schema                     
   | SQL      | 2021-09-10 13:54:52 | Success  |
| Versioned | 1.5            | Upgrade to DSpace 1.5 schema                     
   | SQL      | 2021-09-10 13:54:57 | Success  |
| Versioned | 1.5.9          | Drop constraint for DSpace 1 6 schema            
   | JDBC     | 2021-09-10 13:55:08 | Success  |
| Versioned | 1.6            | Upgrade to DSpace 1.6 schema                     
   | SQL      | 2021-09-10 13:55:08 | Success  |
| Versioned | 1.7            | Upgrade to DSpace 1.7 schema                     
   | SQL      | 2021-09-10 13:55:11 | Success  |
| Versioned | 1.8            | Upgrade to DSpace 1.8 schema                     
   | SQL      | 2021-09-10 13:55:11 | Success  |
| Versioned | 3.0            | Upgrade to DSpace 3.x schema                     
   | SQL      | 2021-09-10 13:55:11 | Success  |
| Versioned | 4.0            | Upgrade to DSpace 4.x schema                     
   | SQL      | 2021-09-10 13:55:12 | Success  |
| Versioned | 4.9.2015.10.26 | DS-2818 registry update                          
   | SQL      | 2021-09-10 13:55:13 | Success  |
| Versioned | 5.0.2014.08.08 | DS-1945 Helpdesk Request a Copy                  
   | SQL      | 2021-09-10 13:55:13 | Success  |
| Versioned | 5.0.2014.09.25 | DS 1582 Metadata For All Objects drop constraint 
   | JDBC     | 2021-09-10 13:55:14 | Success  |
| Versioned | 5.0.2014.09.26 | DS-1582 Metadata For All Objects                 
   | SQL      | 2021-09-10 13:55:14 | Success  |
| Versioned | 5.0.2014.11.04 | Enable XMLWorkflow Migration                     
   | JDBC     | 2021-09-10 13:55:14 | Success  |
| Versioned | 5.6.2016.08.23 | DS-3097                                          
   | SQL      | 2021-09-10 13:55:22 | Success  |
| Versioned | 5.7.2017.04.11 | DS-3563 Index metadatavalue resource type id 
column | SQL      | 2021-09-10 13:55:22 | Success  |
| Versioned | 5.7.2017.05.05 | DS 3431 Add Policies for BasicWorkflow           
   | JDBC     | 2021-09-10 13:55:22 | Success  |
| Versioned | 6.0.2015.03.06 | DS 2701 Dso Uuid Migration                       
   | JDBC     | 2021-09-10 13:55:22 | Success  |
| Versioned | 6.0.2015.03.07 | DS-2701 Hibernate migration                      
   | SQL      | 2021-09-10 13:55:22 | Success  |
| Versioned | 6.0.2015.08.31 | DS 2701 Hibernate Workflow Migration             
   | JDBC     | 2021-09-10 13:55:42 | Success  |
| Versioned | 6.0.2015.09.01 | DS 2701 Enable XMLWorkflow Migration             
   | JDBC     | 2021-09-10 13:55:43 | Success  |
| Versioned | 6.0.2016.01.03 | DS-3024                                          
   | SQL      | 2021-09-10 13:55:43 | Success  |
| Versioned | 6.0.2016.01.26 | DS 2188 Remove DBMS Browse Tables                
   | JDBC     | 2021-09-10 13:55:43 | Success  |
| Versioned | 6.0.2016.02.25 | DS-3004-slow-searching-as-admin                  
   | SQL      | 2021-09-10 13:55:43 | Success  |
| Versioned | 6.0.2016.04.01 | DS-1955 Increase embargo reason                  
   | SQL      | 2021-09-10 13:55:43 | Success  |
| Versioned | 6.0.2016.04.04 | DS-3086-OAI-Performance-fix                      
   | SQL      | 2021-09-10 13:55:44 | Success  |
| Versioned | 6.0.2016.04.14 | DS-3125-fix-bundle-bitstream-delete-rights       
   | SQL      | 2021-09-10 13:55:45 | Success  |
| Versioned | 6.0.2016.05.10 | DS-3168-fix-requestitem item id column           
   | SQL      | 2021-09-10 13:55:45 | Success  |
| Versioned | 6.0.2016.07.21 | DS-2775                                          
   | SQL      | 2021-09-10 13:55:46 | Success  |
| Versioned | 6.0.2016.07.26 | DS-3277 fix handle assignment                    
   | SQL      | 2021-09-10 13:55:46 | Success  |
| Versioned | 6.0.2016.08.23 | DS-3097                                          
   | SQL      | 2021-09-10 13:55:47 | Success  |
| Versioned | 6.1.2017.01.03 | DS 3431 Add Policies for BasicWorkflow           
   | JDBC     | 2021-09-10 13:55:47 | Success  |
| Versioned | 7.0.2017.10.12 | DS-3542-stateless-sessions                       
   | SQL      | 2021-09-10 13:55:47 | Success  |
| Versioned | 7.0.2018.04.03 | Upgrade Workflow Policy                          
   | JDBC     | 2021-09-10 13:55:47 | Success  |
| Versioned | 7.0.2018.04.16 | dspace-entities                                  
   | SQL      | 2021-09-10 13:55:47 | Success  |
| Versioned | 7.0.2018.06.07 | DS-3851-permission                               
   | SQL      | 2021-09-10 13:55:50 | Success  |
| Versioned | 7.0.2019.05.02 | DS-4239-workflow-xml-migration                   
   | SQL      | 2021-09-10 13:55:51 | Success  |
| Versioned | 7.0.2019.06.14 | scripts-and-process                              
   | SQL      | 2021-09-10 13:55:51 | Success  |
| Versioned | 7.0.2019.07.31 | Retrieval of name variant                        
   | SQL      | 2021-09-10 13:55:52 | Success  |
| Versioned | 7.0.2019.11.13 | relationship type copy left right                
   | SQL      | 2021-09-10 13:55:53 | Success  |
| Versioned | 7.0.2020.01.08 | DS-626-statistics-tracker                        
   | SQL      | 2021-09-10 13:55:53 | Success  |
| Versioned | 7.0.2020.10.31 | CollectionCommunity Metadata Handle              
   | JDBC     | 2021-09-10 13:55:53 | Success  |
| Versioned | 7.0.2021.01.22 | Remove basic workflow                            
   | SQL      | 2021-09-10 13:55:53 | Success  |
| Versioned | 7.0.2021.02.08 | tilted rels                                      
   | SQL      | 2021-09-10 13:55:53 | Success  |
| Versioned | 7.0.2021.03.18 | Move entity type to dspace schema                
   | SQL      | 2021-09-10 13:55:53 | Success  |
+-----------+----------------+-----------------------------------------------------+----------+---------------------+----------+


Please give me more advices. Appreciated.

Thanks

Zhongping


On Wednesday, September 15, 2021 at 12:05:41 PM UTC-4 Tim Donohue wrote:
Hi Zhongping,

The main error is saying that DSpace cannot find your "Site" object in the 
"site" database table.  See this part of your long error thread:


2021-09-14 15:27:10,619 ERROR 6f11b865-8655-4de3-9021-c43413a9d74d 
cb806e95-e747-4094-8a27-c1fcc03ad0c7 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception 
has occurred (status:500)
java.lang.NullPointerException: null
at 
org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:111)
 ~[classes/:7.0]
at 
org.dspace.app.rest.converter.ConverterService.toRestPage(ConverterService.java:207)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.SiteRestRepository.findAll(SiteRestRepository.java:64)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.SiteRestRepository$$FastClassBySpringCGLIB$$4fda3bbe.invoke(<generated>)
 ~[classes/:7.0]

Make sure your database is completely up-to-date. On the backend, check 
'./dspace database info' is showing that all migrations are either returning 
"Baseline", "Success" or "Out of Order" (which also means it was successful, 
but it just ran out of normal order).

If there are any that have NOT​ run, this means you forgot to run "./dspace 
database migrate" (if it was a fresh install), or "./dspace database migrate 
ignored" (if it was an upgrade). Or, if you did run that command, it must have 
thrown an error in the logs and refused to complete.

Hopefully that'll help solve the issue.  If not, let us know on this list if 
you need more help.

Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Zhongping Yan <[email protected]>
Sent: Tuesday, September 14, 2021 2:47 PM
To: DSpace Community <[email protected]>
Subject: [dspace-community] Cannot Load Home Page and Had Exception

Hi,

I built DSpace backend and frontend on my local machine. Deployed backend on 
Tomcat. I logged in DSpace UI, but cannot load its Home page. Looked at the 
beckend log file dspace.log. I fount an exception always occurred when I went 
to Home page through URL http://localhost:4000/home. It cannot go to Home page 
when I was in Profile page or MyDSpace page by clicking the DSpace logo or Home 
breadcrumb. The exception and log into in logs are as below:
 2021-09-14 15:24:22,198 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:24:22,229 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:24:22,248 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
7632859b-3d9b-4c16-8f54-c070116f4383 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [PATCH 
/server/api/eperson/epersons/1cc955b5-97b5-4384-b76d-940c010a98ee] originated 
from /
2021-09-14 15:24:22,254 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
7632859b-3d9b-4c16-8f54-c070116f4383 
org.dspace.content.MetadataValueServiceImpl @ <user 
email>::delete_metadata_value: metadata_value_id=13
2021-09-14 15:24:22,254 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
7632859b-3d9b-4c16-8f54-c070116f4383 org.dspace.eperson.EPersonServiceImpl @ 
<user email>::update_eperson:eperson_id=1cc955b5-97b5-4384-b76d-940c010a98ee
2021-09-14 15:27:10,429 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
aa14b33a-a404-4b22-80e8-6f7d71933f27 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api] originated from /
2021-09-14 15:27:10,451 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,461 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,466 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
77b6f2e6-441e-41d4-952d-0e453713ab74 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api/authn/status] originated from /
2021-09-14 15:27:10,490 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,497 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,501 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
fd1de503-c9aa-4623-8d45-fa7f9ebc8e7e 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api/eperson/epersons/1cc955b5-97b5-4384-b76d-940c010a98ee] originated 
from /
2021-09-14 15:27:10,605 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,611 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:10,616 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
cb806e95-e747-4094-8a27-c1fcc03ad0c7 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api/core/sites] originated from /
2021-09-14 15:27:10,619 ERROR 6f11b865-8655-4de3-9021-c43413a9d74d 
cb806e95-e747-4094-8a27-c1fcc03ad0c7 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception 
has occurred (status:500)
java.lang.NullPointerException: null
at 
org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:111)
 ~[classes/:7.0]
at 
org.dspace.app.rest.converter.ConverterService.toRestPage(ConverterService.java:207)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.SiteRestRepository.findAll(SiteRestRepository.java:64)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.SiteRestRepository$$FastClassBySpringCGLIB$$4fda3bbe.invoke(<generated>)
 ~[classes/:7.0]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
 ~[spring-aop-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.dspace.app.rest.repository.SiteRestRepository$$EnhancerBySpringCGLIB$$4713dacc.findAll(<generated>)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.DSpaceRestRepository.findAll(DSpaceRestRepository.java:236)
 ~[classes/:7.0]
at 
org.dspace.app.rest.repository.DSpaceRestRepository$$FastClassBySpringCGLIB$$615525f9.invoke(<generated>)
 ~[classes/:7.0]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
 ~[spring-aop-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.dspace.app.rest.repository.SiteRestRepository$$EnhancerBySpringCGLIB$$4713dacc.findAll(<generated>)
 ~[classes/:7.0]
at 
org.dspace.app.rest.RestResourceController.findAll(RestResourceController.java:927)
 ~[classes/:7.0]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[?:?]
at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
 ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
 ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
 ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879)
 ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
 ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
 ~[spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
 [spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
 [spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
 [spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
 [spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) 
[servlet-api.jar:4.0.FR<http://4.0.FR>]
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
 [spring-webmvc-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) 
[servlet-api.jar:4.0.FR<http://4.0.FR>]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:228)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
[tomcat-websocket.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.dspace.app.rest.filter.DSpaceRequestContextFilter.doFilter(DSpaceRequestContextFilter.java:45)
 [classes/:7.0]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.dspace.app.rest.filter.ContentLanguageHeaderResponseFilter.doFilter(ContentLanguageHeaderResponseFilter.java:51)
 [classes/:7.0]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:84)
 [dspace-services-7.0.jar:7.0]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.dspace.app.rest.security.AnonymousAdditionalAuthorizationFilter.doFilterInternal(AnonymousAdditionalAuthorizationFilter.java:67)
 [classes/:7.0]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.dspace.app.rest.security.StatelessAuthenticationFilter.doFilterInternal(StatelessAuthenticationFilter.java:102)
 [classes/:7.0]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92) 
[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
 [spring-security-web-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:128)
 [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at 
org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66)
 [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at 
org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:103)
 [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:121)
 [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)
 [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 [log4j-web-2.13.3.jar:2.13.3]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) 
[catalina.jar:9.0.50]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
[catalina.jar:9.0.50]
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
 [catalina.jar:9.0.50]
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 [catalina.jar:9.0.50]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) 
[catalina.jar:9.0.50]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) 
[tomcat-coyote.jar:9.0.50]
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 [tomcat-coyote.jar:9.0.50]
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
 [tomcat-coyote.jar:9.0.50]
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1723)
 [tomcat-coyote.jar:9.0.50]
at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
[tomcat-coyote.jar:9.0.50]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 [tomcat-util.jar:9.0.50]
at java.lang.Thread.run(Thread.java:834) [?:?]
2021-09-14 15:27:11,154 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:11,166 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:11,218 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:11,228 WARN  unknown unknown 
org.dspace.discovery.SolrServiceImpl @ We have a collection or community admin 
with ID: 1cc955b5-97b5-4384-b76d-940c010a98ee without any administrable 
collection or community!
2021-09-14 15:27:11,235 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
cb84f541-bb8a-4de3-9b1a-70cf2ed863cf 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api/authn/status] originated from /
2021-09-14 15:27:11,235 INFO  6f11b865-8655-4de3-9021-c43413a9d74d 
f2edbbbf-e513-440f-97aa-212993fbe0f9 
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET 
/server/api/config/properties/google.analytics.key] originated from /
2021-09-14 15:27:11,238 WARN  6f11b865-8655-4de3-9021-c43413a9d74d 
f2edbbbf-e513-440f-97aa-212993fbe0f9 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception 
has occurred (status:404)

Appreciate for helps!

Zhongping

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/d2e8a811-2293-4dd7-81fc-261e4ae8722en%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/d2e8a811-2293-4dd7-81fc-261e4ae8722en%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/c0825237-9537-467b-af71-e4c491e7bfd7n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/c0825237-9537-467b-af71-e4c491e7bfd7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/26232027-6a4f-4dc8-ae5a-65ddb149f077n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/26232027-6a4f-4dc8-ae5a-65ddb149f077n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/DM5PR2201MB1148ACA6E289F1C87CE665C5EDDB9%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to