2012-10-02 79 views
-1

我正在使用斯坦福分析器的Proxem包裝,我面臨與ASP.NET MVC 3和4應用程序分析問題。它拋出Proxem斯坦福分析器asp MVC

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an  invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. 
at Proxem.Antelope.Parsing.Sentence.a(List`1 A_0) 
at Proxem.Antelope.Parsing.Sentence..ctor(SerializationInfo info, StreamingContext ctxt) 
--- End of inner exception stack trace --- 

在WPF和控制檯應用程序,它工作正常。

+0

而downvote是因爲? – wudzik

回答

0

我修好了。構造函數解析器(字符串路徑)正在調用構造函數Parser(string path, int poolsize),池大小爲value = 1。使用帶有值 - > Parser(yourPath,0)的構造函數Parser(string path, int poolsize)可以使用MVC和WCF。