Railo3.0(Ver3.0.0.005 for Windows)で、Model-Glue 3.0(Gesture)のサンプルアプリケーションを動かしてみた。
helpers機能を利用するサンプリアプリケーションが動作しない。
問題は2つあるようだ。
1.MathLib.cfm
インクルードエラー(Include error)
MathLib.cfmを直接コールしてみると、次のようなエラーが返される。RailoのMLに問い掛け中・・・
| Railo 3.0.0.005 Error (Java.lang.verifyerror) |
| Message |
(class:
modelglue/helpers/cflib/mathlib$cfm, method: udfCall8 signature:
(Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;)
Illegal target of jump or branch |
| Java Stacktrace |
(class: modelglue/helpers/cflib/mathlib$cfm, method: udfCall8 signature: (Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;) Illegal target of jump or branch at java.lang.Class.getDeclaredConstructors0(Native Method):-2 at java.lang.Class.privateGetDeclaredConstructors(Unknown Source):-1 at java.lang.Class.getConstructor0(Unknown Source):-1 at java.lang.Class.newInstance0(Unknown Source):-1 at java.lang.Class.newInstance(Unknown Source):-1 at railo.runtime.PageSourceImpl.a(Unknown Source):-1 at railo.runtime.PageSourceImpl.a(Unknown Source):-1 at railo.runtime.PageSourceImpl.loadPage(Unknown Source):-1 at railo.runtime.PageContextImpl.include(Unknown Source):-1 at railo.runtime.listener.ClassicAppListener._onRequest(Unknown Source):-1 at railo.runtime.listener.MixedAppListener.onRequest(Unknown Source):-1 at railo.runtime.PageContextImpl.execute(Unknown Source):-1 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32 at javax.servlet.http.HttpServlet.service(HttpServlet.java:91):91 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103):103 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175):175 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240):240 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263):263 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481):481 at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685):685 at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607):607 at java.lang.Thread.run(Unknown Source):-1 |
2.IncludeHelperShell.cfc
インクルードCFMのCFC関数化ができていない。
Coldfusionでは動作する以下のステートメントがRailo3.0では無視される・・・
<cfset this = variables />
結果として、該当ファンクション無しエラーが発生。
RailoでのDUMP結果は以下のとおり。Railo固有のバグか・・・
Component (ModelGlue.gesture.helper.Helpers) Only the function and data member that are accesible from your location are displayed |
| Hint |
I act as a target for the helpers loaded into a Model-Glue application. |
|
public |
| DateLib |
Component (ModelGlue.gesture.helper.IncludeHelperShell) Only the function and data member that are accesible from your location are displayed |
| Hint |
I am a shell CFC into which an include-based helper file is loaded. |
|
public |
| INIT |
init |
| Includes a .cfm's functions into this CFC. |
Public Function init |
| arguments |
| label |
name |
required |
type |
default |
hint |
|
TEMPLATE |
false |
string |
null |
|
|
| return type |
any |
|
|
|
|
|
|
|
最近のコメント