Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-2042

Possible null pointer dereference in OpenEjb2Conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.6.0
    • None
    • None

    Description

      I experienced an NPE on a different line in the same source file while trying to get EJB 2.1 One-to-One Relations with <foreign-key-column-on-source> to work for a customer project.

      I have not achieved this yet and haven't got a small test case either.

      What I can already say for sure however, after studying the code, is that there is a bug on line 440/441 of
      tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/OpenEjb2Conversion.java@1529473

      if (left == null) {
      RelationField right = left.getRelatedField();

      Attachments

        Activity

          People

            andyg Andy Gumbrecht
            PatrickP Patrick Pfeifer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified