Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jObject stays blank

Reply
Thread Tools

jObject stays blank

 
 
groupie
Guest
Posts: n/a
 
      05-14-2008
Hi,
Running this code in lotus notes.

Set jSession = New JavaSession()
Set jClass = jSession.GetClass("getCode")
Set jObject = jClass.CreateObject


jObject seems to remain blank when viewed in the debugger after the
Set jObject command. Should it have a value/refence?

Because the next call "outCode = jObject.execute(inCode)" later throws
an error: "LS2J: Error: Null Java Object"

I created a constructor in getCode but it didn't make any difference

getCode() { }

Any ideas what is happening? Thanks!
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      05-15-2008
On Wed, 14 May 2008 12:10:14 -0700 (PDT), groupie
<> wrote, quoted or indirectly quoted someone
who said :

> Set jSession = New JavaSession()
> Set jClass = jSession.GetClass("getCode")
> Set jObject = jClass.CreateObject


This code is not Java. Whatever it is, try asking in a Lotus Notes
newsgroup for this language.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JNI generic type of jobject Philipp Kraus Java 6 10-04-2011 07:15 PM
How to convert a C++ Object to a JNI jobject in order to use GetObjectClass Vijayk Java 12 10-25-2005 09:17 AM
Creating a jobject in JNI marydeepthy@gmail.com Java 10 08-11-2005 11:41 AM
C++ JNI jobject conversion Tim Wong C++ 4 01-04-2005 03:38 PM
Need help assigning instance of java class to a jobject MP Java 4 11-07-2004 10:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57