• 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
Fatal crash in NSTabStop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fatal crash in NSTabStop?


  • Subject: Fatal crash in NSTabStop?
  • From: John Timmer <email@hidden>
  • Date: Wed, 17 Oct 2001 14:41:36 -0400

I'm trying to set up some tab stops so I can format some text. To do this,
I'm creating an array using the following code:

NSTextTab tempTab = new NSTextTab(NSTextTab.LeftTabStopType, base);
NSMutableArray tempArray = new NSMutableArray( tempTab);

for (loopCounter = 1; loopCounter < 15; loopCounter++ ) {
base= base + increment;
tempTab = new NSTextTab(NSTextTab.LeftTabStopType, base);
tempArray.addObject(tempTab);
}

return tempArray;


After it runs through the loop about 10 times, the debug session tanks with
the following messages:


Strain Brain[4305] jobjc_mapObjects() collision, objc object 1102c90 of type
(NSTextTab) being entered for Java object of class
(com/apple/cocoa/application/NSTextTab) in entry 39b16d0
2001-10-17 14:37:37.272 Strain Brain[4305] existing java object's class is
(com/apple/cocoa/application/NSTextTab)
2001-10-17 14:37:37.272 Strain Brain[4305] no corresponding java entry! (did
it get collected?)
ObjCJava FATAL:
jobjc_mapObjects(): mapping inconsistency -- hashtable entries are not
identical
ObjCJava Exit


  • Prev by Date: Re: nobody knows, or just can't be done?
  • Next by Date: Drag and drop into Finder
  • Previous by thread: Re: nobody knows, or just can't be done?
  • Next by thread: Drag and drop into Finder
  • Index(es):
    • Date
    • Thread