Hi Simone,

Saturday, October 28, 2000, 1:08:22 PM, you wrote:

BS> Hey Ingo,

>> >   AdressePK key = null;

BS> OK, you set key = null; so...

>> >   try {
>> >    // Adresse Exemplar holen
>> >    key.Mandant = getNummer();             <== Here is the 
>> mistake :-) I
>> > have
>> > to use EntityContexts PrimaryKewy ....
>> 
>> I have changed to:
>> key.Mandant = ((MandantPK)ectx.getPrimaryKey()).Nummer;

BS> ...here you should get a NullPointerException because key == null and you
BS> did not changed it to reference an object, shouldn't it ? Am I missing
BS> something ? Did you post all relevant code ?

Autsch ! What is with my eyes, I have looked ten times to the code and
have not seen that, autsch autsch autsch...

But why is the Object that is given with the Exception null. A
NullPointerException would say more I think...

Many thanks


so long


Ingo Bruell

---
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: 9DD0 1776 DF4D 5B16  A532 C2A1 4701 EEA2
Germany      PGP-Public-Key available at pgpkeys.mit.edu




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to