Went again thru the BSF4ooRexx code. Have not found anything, however a few 
observations:

  * When doing a RequestGlobalReference() on the argument array *and* its sole 
entry, then the
    program ran to the end without a problem.
  * Adding additional output statements (that also caused more 
call-to-Java-to-Rexx, calls to
    SendMessage0() and CString()) caused the exception again. However much 
further towards the end
    of the test Rexx program.

This is the message scenario in this case:

    RII=Rexx Interpreter Instance RII #1 RII # 2 BSF.CLS BSF4ooRexx.cc Java 
(Host.rex)
    (test_set_.rex) |------------------------->|------------>|----------->| |
    |<--------------------------|<---- run test_set_.rex |
    |-------------------------->|----------->| | 
|<------------|<----------->|<---------->| |
    |<------------------------->|<---------->| ... and so on ... |
    |<------------|<------------|<-----------| | 
|-------------------------->|----------->| |
    |<--------------------------|<-----------| | 
|------------>|------------>|----------->| ... and
    so on ... | |--------------------------------------->| (end test_set_.rex)
    |<---------------------------------------|<-----------| (end Host.rex)

  * Everything is carried out in the same thread.
  * "test_set.rex" causes a lot of calls to Java (via BSF.CLS) which may cause 
a lot of calls back
    into Rexx. (In this application a majority of the callbacks from Java are 
related to appending
    entries into Rexx array objects from Java.)

Today I would be able to help debug this in the next 30 minutes, then after a 
meeting which ends in
about two hours, I would be able to work on this for three hours, and then 
after a dinner meeting
(ending in 8 hours) I could work a couple of hours again on this.

So any hints, ideas what I could do highly appreciated! Again, please bear with 
me, I still have to
get acquainted with debugging using a GUI! :)

---rony


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to