Hi,
I'm getting an unexpected error when calling a method from the
imported jar file by jreload.
com.rbnb.sapi.Client is an abstract class, and com.rbnb.sapi.Sink
extends the abstract class.
I'm constructing a class Sink and using it in SinkClientManager.py.
When the constructor for Sink is called, it does not cause any
problem. But, when a method named OpenRBNBConnection from abstract
class Client is called, it produces the following error.
OpenRBNBConnection class is overloaded with three different numbers of
arguments.
I get the following error message
File "SinkClientManager.py", line 55, in ?
File "SinkClientManager.py", line 17, in __init__
File "SinkClientManager.py", line 33, in __init__
at com.rbnb.sapi.Client.OpenRBNBConnection(Client.java:310)
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:585)
com.rbnb.sapi.SAPIException: com.rbnb.sapi.SAPIException: Nesting
java.net.ConnectException
Two questions:
1. Any idea on how to approach solving this problem?
2. If this were to be a bug in Jython, will this be a reasonable approach?
This part is a small component in big system. All the Sink related
operations are done in this component. If I were to create this piece
in JAVA program, will it avoid the above problem (after integrating
the JAVA class with other Jython programs)?
Thank you very much,
Peter
p.s. I'm sending this email to both the user list and the bug list
because I can't determine if it's an error on my side or Jython's.
Sorry about that.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to:
http://p.sf.net/sfu/opensolaris-get_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users