Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9657

Enhance VPE exceptions handling related to third party templates

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              yradtsevich Yahor Radtsevich (Inactive)
              vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: