Error 500 - Mailingliste-Management does not work

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Kittlitz
Posts: 24
Joined: Sun Jan 31, 2021 11:34 am

Error 500 - Mailingliste-Management does not work

Post by Kittlitz » Tue Feb 02, 2021 7:45 pm

Klicking on the "Mailinglist-Menü" leads to

Image

/home/openemm/tomcat/logs/catalina.out contains:

com.agnitas.emm.ORIGIN_URI: /mailinglist/2/view.action;jsessionid=A35007A22D23B80B05EFA35C1CBE320E
org.apache.tomcat.util.net.secure_protocol_version: TLSv1.3
javax.servlet.request.key_size: 128
javax.servlet.error.servlet_name: spring-mvc
javax.servlet.error.message: Request processing failed; nested exception is java.lang.IllegalArgumentException: [null/run] is not a valid HTTP URL
javax.servlet.request.cipher_suite: TLS_AES_128_GCM_SHA256
javax.servlet.request.ssl_session_id: 936EB2A83BDAB6ADACA6FBE7435D32CDBD14C002EEE14FB682BD4E0D5D18E89A
org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE: WebApplicationContext for namespace 'spring-mvc-servlet': startup date [Tue Feb 02 18:56:21 CET 2021]; parent: Root WebApplicationContext
org.springframework.web.context.request.RequestContextListener.REQUEST_ATTRIBUTES: org.apache.catalina.connector.RequestFacade@6f7534ed
org.springframework.web.servlet.HandlerMapping.pathWithinHandlerMapping: /mailinglist/2/view.action
org.springframework.web.servlet.HandlerMapping.uriTemplateVariables: {id=2}
javax.servlet.error.request_uri: /mailinglist/2/view.action;jsessionid=A35007A22D23B80B05EFA35C1CBE320E
org.springframework.web.servlet.DispatcherServlet.THEME_RESOLVER: org.springframework.web.servlet.theme.FixedThemeResolver@479d5296
javax.servlet.error.exception: java.lang.IllegalArgumentException: [null/run] is not a valid HTTP URL

java.lang.IllegalArgumentException: [null/run] is not a valid HTTP URL
at org.springframework.web.util.UriComponentsBuilder.fromHttpUrl(UriComponentsBuilder.java:271)


=== By the way ===
Klicking on the Support-Link (see screenshot), leads to

404 - Error
as this webpage does not exist:
http://www.openemm.org/systemstoerung

Kittlitz
Posts: 24
Joined: Sun Jan 31, 2021 11:34 am

Re: Error 500 - Mailingliste-Management does not work

Post by Kittlitz » Fri Feb 05, 2021 9:23 am

In the meantime I did run an Update .

Running bin/OpenEMMInstaller.sh as root, I've checked the Update-Path:

=============================================
= OpenEMM Maintenance Tool (OMT) v20.10.073 =
=============================================
Root mode: On
Host: axc-openemm-centos-8gb-nbg1-1
License: OpenEMM (ID: 0)
Runtime Version: 20.10.075
OpenEMM Frontend Version: 20.10.000.128
System-Url: Unknown
OpenEMM Backend Version: Unknown

Current menu: Show update history

OpenEMM update history

Application: EMM
Startup time Version
2021-02-02 18:56:21 20.10.000.128

Application: RUNTIME
Startup time Version
2021-02-04 10:23:20 20.10.075
2021-02-02 18:56:21 20.10.070

Application: STATISTICS
Startup time Version
2021-02-02 18:56:45 20.10.000.126

Application: WS
Startup time Version
2021-02-02 18:56:36 20.10.000.128


Data is readonly (Blank => Back)


====

After that I tried the option 9. Switch OpenEMM version

Currently active application versions:
Runtime: 20.10.075
Frontend: 20.10.000.128
TypeError: can only concatenate str (not "NoneType") to str

Maybe this is a helpful hint for the Error 500?

I would be thankful for a suggestion how to solve this issue.

Kittlitz
Posts: 24
Joined: Sun Jan 31, 2021 11:34 am

Re: Error 500 - Mailingliste-Management does not work

Post by Kittlitz » Sat Feb 06, 2021 11:10 am

Found the error finaly.

During the setup I did not completely enter all values at
Menu 2 and then Option 3 Change basic configuration.

As I did want to learn about the system first, I've left several fields like "mailaddress.bounce", "mailaddress.error" and so on empty.

After entering values for every single item, the error 500 has vanished and I can setup Mailings now.
But still they don't start or send yet. But that's another subject.

Maybe this information is helpfull.

I would like to suggest a better error-message than this 500 Error - explaining and claiming that this informations are missing.
It's a question of software quality, see ISO 25010 about functionality, reliability and usability for futher explanation.

Post Reply