Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

java.lang.NullPointerException

Empfohlene Antworten

Hallo Leute,

ich bin gerade dabei Tomcat mit veraweb (Eventmanagementtool // www.veraweb.tarent.com) zum laufen zu bekommen. Nachdem ich die .war Datei installiert habe, wollte ich in den veraweb Ordner wechseln. Ich bekam jedoch folgende Fehlermeldung:

HTTP Status 500 -


type Exception report


message


description The server encountered an internal error () that prevented it from fulfilling this request.


exception


java.lang.NullPointerException

	de.tarent.octopus.request.servlet.OctopusServlet.handleTheRequest(OctopusServlet.java:203)

	de.tarent.octopus.request.servlet.OctopusServlet.doGet(OctopusServlet.java:165)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

	sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	java.lang.reflect.Method.invoke(Method.java:597)

	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)

	java.security.AccessController.doPrivileged(Native Method)

	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)

	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

	java.security.AccessController.doPrivileged(Native Method)

	java.security.AccessController.doPrivileged(Native Method)

	de.tarent.octopus.request.servlet.Forward.service(Forward.java:112)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

	sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	java.lang.reflect.Method.invoke(Method.java:597)

	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)

	java.security.AccessController.doPrivileged(Native Method)

	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)

	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

	java.security.AccessController.doPrivileged(Native Method)

	de.tarent.octopus.request.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:134)

	sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)

	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

	java.lang.reflect.Method.invoke(Method.java:597)

	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)

	java.security.AccessController.doPrivileged(Native Method)

	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)

	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.

Ich hoffe, Ihr könnt mir helfen :)

Servus,

aus dem Stacktrace lässt sich erst mal nichts weiter ableiten, als dass in einem Servlet eine NullPointerException geflogen ist. Folge doch mal dem Hinweis unterhalb des Stacktrace und schau ins Tomcat Log, ob dort mehr steht. Am besten wäre eine "Caused by" mit entsprechend aussagekräftiger Meldung.

Peter

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.