• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
mapping inconsistency - java object already in table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mapping inconsistency - java object already in table


  • Subject: mapping inconsistency - java object already in table
  • From: "Vera Wahler" <email@hidden>
  • Date: Mon, 07 Feb 2005 10:39:02 +0100

Hi,

I've a strange problem with Java-Cocoa.
In my project are about 200 Tests. The tests did run successfully all the time
but suddenly I get the following error message:

2005-02-07 10:19:11.300 java[390] ObjCJava: a mapping for OBJC class name
com/krick/kate/cocoa/controller/KCBaseAppController to info class name
com/krick/kate/cocoa/controller/KCBaseAppController already exists; cannot
create overloaded mapping to javaclassname
com/krick/kate/cocoa/controller/KCBaseAppController
2005-02-07 10:19:11.323 java[390] ObjCJava: a mapping for OBJC class name
com/krick/kate/cocoa/controller/KCAppController to info class name
com/krick/kate/cocoa/controller/KCAppController already exists; cannot create
overloaded mapping to javaclassname
com/krick/kate/cocoa/controller/KCAppController
2005-02-07 10:19:11.325 java[390] ObjCJava: a mapping for OBJC class name
com/krick/kate/cocoa/test/TestAppController to info class name
com/krick/kate/cocoa/test/TestAppController already exists; cannot create
overloaded mapping to javaclassname com/krick/kate/cocoa/test/TestAppController
ObjCJava FATAL:
jobjc_mapObjects(): mapping inconsistency - java object already in table
ObjCJava Exit

As a consequence my test terminate. The error occurs already at the second test
case.
So I tried it with a test-suite and did put the two testcases into it and the
tests succeeded ?!
If I test each class separatly the tests succeed either.
Other users of  our team did run the tests on their machine and they worked,
too.
Finally I tried to debug and found out that the following line causes the crash:
cocoaJavaBridgeObjects.addObject(anObject);   (cocoaJavaBridgeObjects is a
NSMutableArray)
Before the execution of this instruction the array did hold exactly one element
which was not anObject.
In addition to that I executed the statement with the eclipse-debugger and it
worked. No crash adding anObject.
Only adding anObject "from code" causes the crash.
Does anyone can give any hints about the reason for this strange crash?

Thanks for help,

Vera

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSBundle problem accumulates execution time
  • Next by Date: OT: .dmg creator
  • Previous by thread: Re: icon display in menubar
  • Next by thread: OT: .dmg creator
  • Index(es):
    • Date
    • Thread