Error: More than one class matches ...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error: More than one class matches ...

ThSITC
Hi Kermit, and all,

would it be *very difficult* to enhance this error-message so that it is
followed by a
*List of the full names of all classes matching the given class name*,
as in the
NetrexxC.log sample *included here* ??:

************************************************************************************************
NetRexx portable processor, version NetRexx 3.01RC2, build 54-20111013-0038
Copyright (c) RexxLA, 2011.  All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.
Program Scan.nrx
   === class com.thsitc.pp.in.Scan ===
     constructor Scan()
       overrides Lang()
     constructor Scan(Rexx)
       overrides Lang(Rexx)
     constructor Scan(Rexx,Rexx)
     method InitScan(Rexx,Rexx)
   261 +++    Nest.StartReading(xfile)
       +++    ^^^^
       +++ Error: Class reference is ambiguous (more than one class
matches 'Nest')
Program ScanCBL.nrx
   === class com.thsitc.pp.in.ScanCBL ===
     constructor ScanCBL(Scan)
     method GetCobolContinuationLine
     method DetermineCobolLineType
     method GetCobolPicture
     method GetReplaceInstruction
     method PerformSimpleReplacements
     method PerformPseudoReplacement
     method GetReplaceInstructions
  234 +++       if (o_scan.token_id = o_scan.EOS) | Nest.EndOfNest()
then do
      +++                                           ^^^^
      +++ Error: Class reference is ambiguous (more than one class
matches 'Nest')
Program ScanPLI.nrx
   === class com.thsitc.pp.in.ScanPLI ===
     constructor ScanPLI(Scan)
     method ClassifyPLIToken
Program ScanRexx.nrx
   === class com.thsitc.pp.in.ScanRexx ===
     constructor ScanRexx(Scan)
     method ClassifyRexxToken
     method DetectKeyword
   41 +++   o_Externals=Externals -- an Externals-Object as well (detto!)
      +++   ^^^^^^^^^^^
      +++ Warning: Private property is defined but not used
Compilation of 'Scan.nrx' failed [one error]
Compilation of 'ScanCBL.nrx' failed [one error]
Compilation of 'ScanPLI.nrx' successful
Compilation of 'ScanRexx.nrx' successful [one warning]
*********************************************************************************************

In trying to re-compile a rather hughe project *from Scratch*, and
*advise by the
NetRexx Compiler* why there is an ambiguity and which calsses are involved
might be quite helpful ;-)

Thomas Schneider.

PS: Did revert to old Netrexx Compilert version to see it's an old or
new deficiency.

I do (personally only, of course) think this specific error msg shall
and should be
improved for *crystal clarity*.

It does (a bit) remind me on the DOS error message:

command not found or file doesn't exist ;-)
=================================================================

--
Thomas Schneider, IT Consulting; http://www.thsitc.com; Vienna, Austria,
Europe

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: More than one class matches ...

Kermit Kiser
I don't know Thomas. Why don't you open an enhancement request on Kenai
and someone will look into it when there is time.

-- Kermit

On 12/13/2012 9:57 AM, Thomas Schneider wrote:

> Hi Kermit, and all,
>
> would it be *very difficult* to enhance this error-message so that it
> is followed by a
> *List of the full names of all classes matching the given class name*,
> as in the
> NetrexxC.log sample *included here* ??:
>
> ************************************************************************************************
>
> NetRexx portable processor, version NetRexx 3.01RC2, build
> 54-20111013-0038
> Copyright (c) RexxLA, 2011.  All rights reserved.
> Parts Copyright (c) IBM Corporation, 1995,2008.
> Program Scan.nrx
>   === class com.thsitc.pp.in.Scan ===
>     constructor Scan()
>       overrides Lang()
>     constructor Scan(Rexx)
>       overrides Lang(Rexx)
>     constructor Scan(Rexx,Rexx)
>     method InitScan(Rexx,Rexx)
>   261 +++    Nest.StartReading(xfile)
>       +++    ^^^^
>       +++ Error: Class reference is ambiguous (more than one class
> matches 'Nest')
> Program ScanCBL.nrx
>   === class com.thsitc.pp.in.ScanCBL ===
>     constructor ScanCBL(Scan)
>     method GetCobolContinuationLine
>     method DetermineCobolLineType
>     method GetCobolPicture
>     method GetReplaceInstruction
>     method PerformSimpleReplacements
>     method PerformPseudoReplacement
>     method GetReplaceInstructions
>  234 +++       if (o_scan.token_id = o_scan.EOS) | Nest.EndOfNest()
> then do
>      +++                                           ^^^^
>      +++ Error: Class reference is ambiguous (more than one class
> matches 'Nest')
> Program ScanPLI.nrx
>   === class com.thsitc.pp.in.ScanPLI ===
>     constructor ScanPLI(Scan)
>     method ClassifyPLIToken
> Program ScanRexx.nrx
>   === class com.thsitc.pp.in.ScanRexx ===
>     constructor ScanRexx(Scan)
>     method ClassifyRexxToken
>     method DetectKeyword
>   41 +++   o_Externals=Externals -- an Externals-Object as well (detto!)
>      +++   ^^^^^^^^^^^
>      +++ Warning: Private property is defined but not used
> Compilation of 'Scan.nrx' failed [one error]
> Compilation of 'ScanCBL.nrx' failed [one error]
> Compilation of 'ScanPLI.nrx' successful
> Compilation of 'ScanRexx.nrx' successful [one warning]
> *********************************************************************************************
>
>
> In trying to re-compile a rather hughe project *from Scratch*, and
> *advise by the
> NetRexx Compiler* why there is an ambiguity and which calsses are
> involved
> might be quite helpful ;-)
>
> Thomas Schneider.
>
> PS: Did revert to old Netrexx Compilert version to see it's an old or
> new deficiency.
>
> I do (personally only, of course) think this specific error msg shall
> and should be
> improved for *crystal clarity*.
>
> It does (a bit) remind me on the DOS error message:
>
> command not found or file doesn't exist ;-)
> =================================================================
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: More than one class matches ...

ThSITC
Hi Kermit, *and all*:

What I'm doing here, in Vienna, Austria, Europe (no Kangoroohs, I'm
really sorry, except in Schön-Brunn,
the Vienniese garden, close the Schoss of Schönbrunn) is:

Preparing the *release* of my stuff.

Frankly speaking, I think, I think, that without having all the sources
available on SVN,
there on Kenai, no one of this community would have ever the possiblity
to *replicate*
the issues I'm currently having:

RECOMPILE a hughe Rexxx /& NetRexx project, from SCRATCH!

As far as I'm involved:

a) I did ask many times for help &/ assistance, as well as on RexxLA &
ibm-netrexx
b) I did get soo many help and advise from so many of you, when I just
did *ask*
c) *I did get bored* my members saying: --- He shall not ask, he shall
deliver.

Walther Pachl is for sure right:

Maybe, what I did try to solve, is *un-Dooable* at all.
Maybe, I am right: Doing it, is better, than saying: It cannot be done!

Full stop.
Thomas.
=========================================================
Am 14.12.2012 20:06, schrieb Kermit Kiser:

> I don't know Thomas. Why don't you open an enhancement request on
> Kenai and someone will look into it when there is time.
>
> -- Kermit
>
> On 12/13/2012 9:57 AM, Thomas Schneider wrote:
>> Hi Kermit, and all,
>>
>> would it be *very difficult* to enhance this error-message so that it
>> is followed by a
>> *List of the full names of all classes matching the given class
>> name*, as in the
>> NetrexxC.log sample *included here* ??:
>>
>> ************************************************************************************************
>>
>> NetRexx portable processor, version NetRexx 3.01RC2, build
>> 54-20111013-0038
>> Copyright (c) RexxLA, 2011.  All rights reserved.
>> Parts Copyright (c) IBM Corporation, 1995,2008.
>> Program Scan.nrx
>>   === class com.thsitc.pp.in.Scan ===
>>     constructor Scan()
>>       overrides Lang()
>>     constructor Scan(Rexx)
>>       overrides Lang(Rexx)
>>     constructor Scan(Rexx,Rexx)
>>     method InitScan(Rexx,Rexx)
>>   261 +++    Nest.StartReading(xfile)
>>       +++    ^^^^
>>       +++ Error: Class reference is ambiguous (more than one class
>> matches 'Nest')
>> Program ScanCBL.nrx
>>   === class com.thsitc.pp.in.ScanCBL ===
>>     constructor ScanCBL(Scan)
>>     method GetCobolContinuationLine
>>     method DetermineCobolLineType
>>     method GetCobolPicture
>>     method GetReplaceInstruction
>>     method PerformSimpleReplacements
>>     method PerformPseudoReplacement
>>     method GetReplaceInstructions
>>  234 +++       if (o_scan.token_id = o_scan.EOS) | Nest.EndOfNest()
>> then do
>>      +++                                           ^^^^
>>      +++ Error: Class reference is ambiguous (more than one class
>> matches 'Nest')
>> Program ScanPLI.nrx
>>   === class com.thsitc.pp.in.ScanPLI ===
>>     constructor ScanPLI(Scan)
>>     method ClassifyPLIToken
>> Program ScanRexx.nrx
>>   === class com.thsitc.pp.in.ScanRexx ===
>>     constructor ScanRexx(Scan)
>>     method ClassifyRexxToken
>>     method DetectKeyword
>>   41 +++   o_Externals=Externals -- an Externals-Object as well (detto!)
>>      +++   ^^^^^^^^^^^
>>      +++ Warning: Private property is defined but not used
>> Compilation of 'Scan.nrx' failed [one error]
>> Compilation of 'ScanCBL.nrx' failed [one error]
>> Compilation of 'ScanPLI.nrx' successful
>> Compilation of 'ScanRexx.nrx' successful [one warning]
>> *********************************************************************************************
>>
>>
>> In trying to re-compile a rather hughe project *from Scratch*, and
>> *advise by the
>> NetRexx Compiler* why there is an ambiguity and which calsses are
>> involved
>> might be quite helpful ;-)
>>
>> Thomas Schneider.
>>
>> PS: Did revert to old Netrexx Compilert version to see it's an old or
>> new deficiency.
>>
>> I do (personally only, of course) think this specific error msg shall
>> and should be
>> improved for *crystal clarity*.
>>
>> It does (a bit) remind me on the DOS error message:
>>
>> command not found or file doesn't exist ;-)
>> =================================================================
>>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider, IT Consulting; http://www.thsitc.com; Vienna, Austria,
Europe

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com