strange

<[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
hello

i am stumbling across a strange error message when i try to invoke the following line (and only this line) with a current helma snapshot as of today and rome 0.9 [1]:

   var output = new Packages.com.sun.syndication.io.SyndFeedOutput();

in the browser i only get:

   org/jdom/Document

and in the stack trace:

[2007/05/02 15:32:05] [ERROR] test2:get:test2/debug: org/jdom/Document
java.lang.NoClassDefFoundError: org/jdom/Document
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.privateGetPublicMethods(Unknown Source)
        at java.lang.Class.getMethods(Unknown Source)
        at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:348)
        at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:324)
        at org.mozilla.javascript.JavaMembers.reflect(JavaMembers.java:418)
        at org.mozilla.javascript.JavaMembers.<init>(JavaMembers.java:67)
        at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:749)
        at org.mozilla.javascript.NativeJavaClass.initMembers(NativeJavaClass.java:79)
        at org.mozilla.javascript.NativeJavaClass.<init>(NativeJavaClass.java:74)
        at org.mozilla.javascript.NativeJavaPackage.getPkgProperty(NativeJavaPackage.java:159)
        at org.mozilla.javascript.NativeJavaPackage.get(NativeJavaPackage.java:105)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1546)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1374)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1363)
        at org.mozilla.javascript.gen.c433._c4(C:\Work\helma\..\apps\test2\code\Test\Test.js:51)
        at org.mozilla.javascript.gen.c433.call(C:\Work\helma\..\apps\test2\code\Test\Test.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:386)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2823)
        at org.mozilla.javascript.gen.c433.call(C:\Work\helma\..\apps\test2\code\Test\Test.js)
        at org.mozilla.javascript.Context.call(Context.java:520)
        at helma.scripting.rhino.RhinoEngine.invoke(RhinoEngine.java:296)
        at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:389)
        at java.lang.Thread.run(Unknown Source)
[2007/05/02 15:32:05] [INFO] test2:get:error aborted after 0 millis

does anyone know what's going on here?

ciao,
tobi

--
[1] https://rome.dev.java.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.