Well, it's sort of a chicken-and-egg situation here...the Rexx
instance is not fully created yet, so it's not really capable of
issuing the normal error message yet....there isn't even a program
location you can cite as the cause of the error.  Fixing the
terminate() problem probably just requires some additional try-catch
logic to catch the ActivityException that's getting throw.  However,
that's a different issue from what's causing the test case to fail in
the first place.

Rick

On Sun, Jan 24, 2010 at 6:06 PM, Mark Miesfeld <[email protected]> wrote:
> Rick,
>
> I haven't tracked this all the way down yet.  But, I'm curious why
> this doesn't result in the usual Rexx condition message?
>
> [miesf...@osprey API]$ ./rexxinstance INSTANCE -LIB rxmath
> "/work.ooRexx/ooTest/4.0.0/ooRexx/API/oo/tests/callMath.rex"
> invokeProgram() instance=(nil) context=(nil)
> ...
> LOAD_REQUIRED_LIBRARY going to invoke getLibrary
> PackageManger::loadLibrary() package=(nil)
> PackageManger::getLibrary() package=(nil)
> Got to RexxActivity::reportAnException sub=0x7fcdf90046d0
> terminate called after throwing an instance of 'ActivityException'
> Aborted
>
> I would have expected something more like this:
>
> Got to RexxActivity::reportAnException sub=0x7fbd960e9680
>     6 *-* ::requires 'rxmLath' LIBRARY
> REX0098E: Error 98 running
> /work.ooRexx/ooTest/4.0.0/external/API/qTest.rex line 6:  Execution
> error
> REX0479E: Error 98.903:  Unable to load library "rxmLath"
>
> Is it because of the way rexxinstance is written?  I.e., it would need
> to print out the condition message itself, but doesn't because it is
> just a test program.
>
> --
> Mark Miesfeld
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to