jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • groovy
  • GROOVY-1118

NPE when accessing a reference that was set inside a Builder

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-JSR-3
  • Fix Version/s: 1.0-JSR-5
  • Component/s: None
  • Labels:
    None

Description

NPE in Builder:
import groovy.swing.SwingBuilder
swing = new SwingBuilder()
frame = swing.frame() {
x = panel()
}
x

Issue Links

is depended upon by

Task - A task that needs to be done. GROOVY-754 scoping

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
blackdrag blackdrag added a comment - 19/Jan/06 7:32 PM

the x was a local variable, fixed now

Show
blackdrag blackdrag added a comment - 19/Jan/06 7:32 PM the x was a local variable, fixed now

People

  • Assignee:
    blackdrag blackdrag
    Reporter:
    Dierk Koenig
Vote (0)
Watch (0)

Dates

  • Created:
    01/Nov/05 3:12 PM
    Updated:
    19/Jan/06 7:32 PM
    Resolved:
    19/Jan/06 7:32 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.