#449 Error running the webapp hello world

jakb Sun 8 Feb 2009

hi after successfully playing with some fwt examples I tried to run the weabapp ex.:

http://fandev.org/doc/docIntro/HelloWorld.html#webapp

I can't make much out off this error message (1). Any ideas whats wrong here?

Thanks

(1):

fan ../examples/web/hello.fan
(13:57:42 08-Feb-09) (error) (fand) Error initializing script (/usr/local /fan/examples/web/hello.fan)
sys::NullErr: Coerce to non-null
fan.sys.NullErr.makeCoerce (NullErr.java:38)
web::Weblet.make$ (Weblet.fan:26)
hello_0::Hello.make$ (/usr/local/fan/examples/web/hello.fan:36)
hello_0::Hello.make (/usr/local/fan/examples/web/hello.fan)
hello_0::Boot.setup (/usr/local/fan/examples/web/hello.fan:31)
fand::BootScript.make$ (BootScript.fan:27)
hello_0::Boot.make$ (/usr/local/fan/examples/web/hello.fan:18)
hello_0::Boot.make (/usr/local/fan/examples/web/hello.fan)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke (Method.java:585)
fan.sys.Method.invoke (Method.java:558)
fan.sys.Method$MethodFunc.call (Method.java:216)
fan.sys.Type.make (Type.java:291)
fan.sys.ClassType.make (ClassType.java:162)
fan.sys.Type.make (Type.java:288)
fanx.tools.Fan.callMain (Fan.java:139)
fanx.tools.Fan.executeFile (Fan.java:90)
fanx.tools.Fan.execute (Fan.java:36)
fanx.tools.Fan.run (Fan.java:230)
More...

brian Sun 8 Feb 2009

Yeah it is a bug that slipped thru in the last build, see this post for a simple fix.

Sorry about that.

jakb Sun 8 Feb 2009

ok thanks

Login or Signup to reply.