[jbosstools-issues] [JBoss JIRA] (JBIDE-10448) Validation Error: NPE on web.xml

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Jan 30 18:00:48 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-10448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662900#comment-12662900 ] 

Viacheslav Kabanovich commented on JBIDE-10448:
-----------------------------------------------

I attached npe, because it is also not available by link now.
Now I think I see the cause of the problem. Obviously, jsf features of JBoss Tools are not included in the configuration, but some resources had been by mistake referenced through definitions declared in jsf. I will fix them and, to make this kind of failure less severe, the image will be checked in LabelDecoratorImpl, and null value will be reported to the log.
                
> Validation Error: NPE on web.xml
> --------------------------------
>
>                 Key: JBIDE-10448
>                 URL: https://issues.jboss.org/browse/JBIDE-10448
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.3.0.Beta1
>         Environment: Win7 64bit
> Eclipse 3.7.1 64bit
>   JBoss JAX-RS Tools	1.2.2.v20111204-0420-H640-Beta1	org.jboss.tools.ws.jaxrs.feature.feature.group	JBoss by Red Hat
>   JBoss Maven Integration	1.3.0.v20111203-1300-H486-M5	org.jboss.tools.maven.feature.feature.group	JBoss by Red Hat
>   JBoss Maven JAX-RS Configurator	1.3.0.v20111203-1300-H486-M5	org.jboss.tools.maven.jaxrs.feature.feature.group	JBoss by Red Hat
>   JBoss WebServices Tools	1.2.2.v20111204-0420-H640-Beta1	org.jboss.tools.ws.feature.feature.group	JBoss by Red Hat
>            Reporter: Ron Ratovsky
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.Beta1
>
>         Attachments: npe.txt, web.xml, web.xml.png
>
>
> I get an odd error on the web.xml file of a project, where the marker points to a comment.
> Attribute servlet-class references to non-existent class com.sun.jersey.spi.spring.container.servlet.SpringServlet	web.xml	‪/sheker/src/main/webapp/WEB-INF‬	- line 19 - Web XML Problem
> When trying to open the file, I get the following exception in the log: http://mysticpaste.com/private/8xH1nxLeqf
> Sample web.xml with the problem: http://mysticpaste.com/private/SqlQvmTYuR (please note that the error points to the same line 19 in the sample web.xml)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list