Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.6RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-11-18 2e438b1) (Java HotSpot(TM) Client VM 1.6.0_18) [Windows 7-x86-java]
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      calling super "wrongly" appears to cause an NPE:

      Java.java:726:in `call': java.lang.NullPointerException
      from JavaMethod.java:630:in `call'
      from CachingCallSite.java:323:in `cacheAndCall'

      https://gist.github.com/706488
      Cheers!

        Activity

        Hide
        Roger Pack added a comment -

        This may be related:

        https://gist.github.com/707324

        Show
        Roger Pack added a comment - This may be related: https://gist.github.com/707324
        Hide
        Charles Oliver Nutter added a comment -

        commit f0ee41f4c324c2efa0ce6311b8eb0934bd434de8
        Author: Charles Oliver Nutter <headius@headius.com>
        Date: Wed Dec 29 13:36:00 2010 -0600

        Fix JRUBY-5196: NPE in initializer

        There was a missing additional check to ensure a matching constructor. Added that and raised ArgumentError.

        Show
        Charles Oliver Nutter added a comment - commit f0ee41f4c324c2efa0ce6311b8eb0934bd434de8 Author: Charles Oliver Nutter <headius@headius.com> Date: Wed Dec 29 13:36:00 2010 -0600 Fix JRUBY-5196 : NPE in initializer There was a missing additional check to ensure a matching constructor. Added that and raised ArgumentError.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Roger Pack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: