[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9657) Enhance VPE exceptions handling related to third party templates

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Mon Sep 5 10:59:27 EDT 2011


Enhance VPE exceptions handling related to third party templates
----------------------------------------------------------------

                 Key: JBIDE-9657
                 URL: https://issues.jboss.org/browse/JBIDE-9657
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: Visual Page Editor core, Visual Page Editor Templates
    Affects Versions: 3.3.0.M3
            Reporter: Vitali Yemialyanchyk
            Assignee: Yahor Radtsevich
            Priority: Minor


I've reproduce the situation with whole eclipse crash without clear message what was a reason: after debug I've find the reason: it was java.lang.NoClassDefFoundError in the function VpeTemplateSafeWrapper ->
public VpeCreationData create(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument) {
return delegate.create(pageContext, sourceNode, visualDocument);
}
it look like you should handle this situation also - so I reopen the issue.

you are catch only Exception VpeTemplateSafeWrapper and in VpeTemplateSafeWrapper.create catch Exception on more high level - it look like you should also catch Throwable? and somehow handle Throwable in VpeTemplateSafeWrapper.create?

reference to initial issue:
https://issues.jboss.org/browse/JBIDE-9339

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list