This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 113180

Summary: AIOOBE: 64 from LanguageOperation.embeddingPresence
Product: editor Reporter: Martin Krauskopf <mkrauskopf>
Component: LexerAssignee: issues@editor <issues>
Status: CLOSED DUPLICATE    
Severity: blocker CC: tor
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: AIOOBE.txt

Description Martin Krauskopf 2007-08-20 10:11:40 UTC
Once it happens it keeps poping up and I have to kill NetBeans instance.

1) Create new Ruby project
2) I've copy pasted this content into the main.rb

  class My
    @a = 10
    def initialize; @x = 10; end
    def fib(n)
      @fib_cache ||= [1, 1]
      @fib_cache[n] ||= fib(n-1) + fib(n-2)
    end
  end

  my = My.new
  puts my.fib(20)
  sleep 0.1

3) Click to another opened file and back
4) Exception start to poping up infinitely

Attaching exception.
Comment 1 Martin Krauskopf 2007-08-20 10:12:11 UTC
Created attachment 46866 [details]
AIOOBE.txt
Comment 2 Martin Krauskopf 2007-08-20 10:12:48 UTC
Linux, fresh build, one hour old
Comment 3 Martin Krauskopf 2007-08-20 10:13:29 UTC
Not sure, might be Ruby problem.
Comment 4 Torbjorn Norbye 2007-08-20 15:26:26 UTC

*** This issue has been marked as a duplicate of 113172 ***
Comment 5 Martin Krauskopf 2007-08-20 16:37:23 UTC
v/c