DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22842>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22842 flow: importPackage/importClass problems creating InitialContext() Summary: flow: importPackage/importClass problems creating InitialContext() Product: Cocoon 2 Version: 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] >From flow, the following works: var initCtx = new Packages.javax.naming.InitialContext(); However, the following does not: importPackage(Packages.javax.naming); ... var initCtx = new InitialContext(); returns the error: org.mozilla.javascript.EvaluatorException: "file:/home/steve/mdc/cocoon-2.1/build/webapp/clavin/flow/global.js", line 16: Java constructor for "javax.naming.InitialContext" with arguments "" not found. and importClass(Packages.javax.naming.InitialContext); ... var initCtx = new InitialContext(); returns java.lang.NullPointerException
