cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject [Javaflow] - Recalling a contianuation throws a NPE
Date Tue, 06 Apr 2004 01:37:18 GMT
Hi:

I am back to work. While figuring out how to implement Groovy Flow Engine
on the base of JavaFlow I meet the following error:

1-Go to calculator demo and give the value of "a" variable.
2-Send the page.
3-Copy the current URI.
4-Open a new browser window and paste the URI.
5-You got a NPE:

java.lang.NullPointerException
	at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:980)
	at java.lang.Float.parseFloat(Float.java:222)
	at
org.apache.cocoon.samples.flow.java.CalculatorFlow.getNumber(CalculatorFlow.java:53)
	at
org.apache.cocoon.samples.flow.java.CalculatorFlow.doCalculator(CalculatorFlow.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.cocoon.components.flow.java.JavaInterpreter.handleContinuation(JavaInterpreter.java:238)
	at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:120)

Best Regards,

Antonio Gallardo

Mime
View raw message