Ok, just dug a little deeper into this, and it looks like there is a recursivon problem with trying to issue an error message, so we've either had a call to RexxActivity::kill(), or raiseException() is throwing the RecursiveStringError. The fix for the API code would be to wrap a catch ActivityException around the call and force the failure logic on the API call.
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
