Severe: exception starting filter struts2 java. Lang. nullpointerexception

Source: Internet
Author: User

Severe: exception starting filter struts2

Java. Lang. nullpointerexception

At com. opensymphony. xwork2.util. filemanager $ filerevision. needsreloading (filemanager. Java: 209)

At com. opensymphony. xwork2.util. filemanager. fileneedsreloading (filemanager. Java: 60)

At com. opensymphony. xwork2.config. providers. xmlconfigurationprovider. needsreload (xmlconfigurationprovider. Java: 325)

At org. Apache. struts2.config. strutsxmlconfigurationprovider. needsreload (strutsxmlconfigurationprovider. Java: 168)

At com. opensymphony. xwork2.config. configurationmanager. conditionalreload (configurationmanager. Java: 220)

At com. opensymphony. xwork2.config. configurationmanager. getconfiguration (configurationmanager. Java: 61)

At org. Apache. struts2.dispatcher. Dispatcher. getcontainer (dispatcher. Java: 774)

...........................

...........................

2010-7-3 20:42:07 org. Apache. Catalina. Core. standardcontext start

Severe: Error filterstart

2010-7-3 20:42:07 org. Apache. Catalina. Core. standardcontext start

Severe: context [/struts2_0200_namespace] startup failed due to previous errors

2010-7-3 20:42:07 org. Apache. Catalina. loader. webappclassloader clearthur readlocalmap

Severe: A web application created a threadlocal with key of Type [null] (value [COM. opensymphony. xwork2.inject. containerimpl $10 @ 6dbfb0]) and a value of Type [Java. lang. object [] (value [[ljava. lang. object; @ 143f787]) but failed to remove it when the web application
Was stopped. To prevent a memory leak, the threadlocal has been forcibly removed.

2010-7-3 20:42:07 org. Apache. Catalina. loader. webappclassloader clearthur readlocalmap

Severe: A web application created a threadlocal with key of Type [null] (value [COM. opensymphony. xwork2.inject. containerimpl $10 @ 12fe9bf]) and a value of Type [Java. lang. object [] (value [[ljava. lang. object; @ 9b1e15]) but failed to remove it when the web application
Was stopped. To prevent a memory leak, the threadlocal has been forcibly removed.

Cause: Mostly reference jar packages or struts. xml files with spaces in the path to delete <constant name = "struts. devmode" value = "true"/> restart Tomcat
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.