| Summary: | Eclipse freeze, after NPE in log while opening JSP file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Jens Zastrow <jens.zastrow> | ||||
| Component: | jst.jsp | Assignee: | Rakesh <rakes123> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nick Sandonato <nsand.dev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | rakes123, thatnitind | ||||
| Version: | 3.2 | Flags: | nsand.dev:
review+
|
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jens Zastrow
Could you attach project in which this is happening? Created attachment 182872 [details] patch Based on above stacktrace, i was able to recreate this problem of NPE(but no freeze).It is caused by tld with structure similar to: <?xml version="1.0" encoding="UTF-8"?> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0"> <shortname><child></child></shortname> <tlib-version>1.0</tlib-version> </taglib> Notice '<child></child>' inside shortname.Now shortname will be returned as empty string. Changes checked in. |