From 0e2f320bb0d2dc78a5df9d62904831d7de1037e4 Mon Sep 17 00:00:00 2001 From: Sascha Weinreuter Date: Thu, 22 Sep 2011 16:19:04 +0200 Subject: [PATCH] NPE with simple arithmetic expressions (e.g. 1+1) --- .../rt/engine/local/saxon9/Saxon9StyleFrame.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/xslt-debugger/engine/impl/src/org/intellij/plugins/xsltDebugger/rt/engine/local/saxon9/Saxon9StyleFrame.java b/plugins/xslt-debugger/engine/impl/src/org/intellij/plugins/xsltDebugger/rt/engine/local/saxon9/Saxon9StyleFrame.java index c54fe2401f93..dc9df67055c6 100644 --- a/plugins/xslt-debugger/engine/impl/src/org/intellij/plugins/xsltDebugger/rt/engine/local/saxon9/Saxon9StyleFrame.java +++ b/plugins/xslt-debugger/engine/impl/src/org/intellij/plugins/xsltDebugger/rt/engine/local/saxon9/Saxon9StyleFrame.java @@ -17,6 +17,7 @@ package org.intellij.plugins.xsltDebugger.rt.engine.local.saxon9; import net.sf.saxon.expr.Expression; +import net.sf.saxon.expr.ExpressionVisitor; import net.sf.saxon.expr.StackFrame; import net.sf.saxon.expr.XPathContext; import net.sf.saxon.expr.instruct.GlobalVariable; @@ -28,6 +29,8 @@ import net.sf.saxon.om.ValueRepresentation; import net.sf.saxon.style.StyleElement; import net.sf.saxon.trans.XPathException; import net.sf.saxon.type.ItemType; +import net.sf.saxon.type.Type; +import net.sf.saxon.type.TypeHierarchy; import org.intellij.plugins.xsltDebugger.rt.engine.Debugger; import org.intellij.plugins.xsltDebugger.rt.engine.Value; import org.intellij.plugins.xsltDebugger.rt.engine.local.VariableImpl; @@ -58,7 +61,10 @@ class Saxon9StyleFrame extends AbstractSaxon9Frame extends AbstractSaxon9Frame