| Summary: | [Query2] Error while Deserializing | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | saurav sarkar <saurav.sarkar1> |
| Component: | Query2 | Assignee: | Project Inbox <emf.query2-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse, animesh143 |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
saurav sarkar
Cause of this Exception is As Follows:- When trying to load (the dumped indices), for some Resource Descriptor, it tries to load the Reference Tables (Outgoing Links table in this case) and it is unable to retrieve the target resource for a particular reference URI. Due to which its throwing a null pointer exception. This maybe because you are trying to retrieve some resource inside a jar or some other location which is not resolvable using the given uri and hence it is throwing the exception. One Possible way to overcome this problem is that, a check for null can be done in the Query 2 code and then try to retrieve the URIs, but its not recommended, as it will ignore all Incorrect Data or access to some restricted data. Whereas the existing code does not allow you to pass incorrect data. |