Stephan Michels wrote:

Am Do, den 03.06.2004 schrieb Stephan Michels um 15:00:


Am Di, den 01.06.2004 schrieb Stephan Coboos um 20:23:


Hello,

I have a problem using Objects in JavaFlow before a while loop. Please see my first posting [JavaFlow] java.lang.VerifyException. In my opinion it can be a bug in the JavaFlow block.

Because my fist posting was not so clear, I had tried to reproduce the error for a while and I had discovered the following code which creates such an error (you need the packages of Lucene):

java.lang.VerifyError: (class: foo/bar/TestFlow, method: doTest signature: ()V) Incompatible object argument for function call

Is it really a bug? Why is it not possible to declare these three line within the method doTest? What can I do?


Yes, it seems to be a bug. I guess its a problem the following line

 query = QueryParser.parse("foo", "bar", new StandardAnalyzer());

I had many problem in the past with uninitialized objects and saving the
continuation. I will take a look into it.



It was a problem with null objects, which were stored into the continuation. If the frame will be restored, the null object cannot be casted into the right type. So, at the end the correct signatur couldn't be found.

Hits hits;
IndexSearcher searcher = null;
sendPageAndWait("foo");
hits = searcher.search(query);

I have fixed it now.

Stephan.




Wow, what a quick work!

Thank you very much!

Regards
Stephan

Reply via email to