Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.1peur1
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      3,703
    • Status Whiteboard:
      Hide

      91ur1Approved

      Show
      91ur1Approved

      Description

      This bug is filed in reference of
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6607308
      JavaEE (in-container) test failed on AS9.1 FCS ee build while
      SecurityManager is enabled by default.

      In the test, two entities are used, e.g.
      @Entity
      public class Course implements Serializable {
      @Id
      private Integer id;
      @OneToMany(mappedBy="course", fetch=FetchType.EAGER)
      @MapKey(name="name")
      private Map<String, Student> students = new HashMap<String, Student>();
      private String name;

      @Entity
      public class Student implements Serializable {
      @Id
      private Integer id;

      @ManyToOne()
      private Course course;

      NPE occurs when the test client persists the entity collection.

        Activity

        Hide
        sherryshen added a comment -

        Created an attachment (id=1171)
        Test source, server.log and client.output

        Show
        sherryshen added a comment - Created an attachment (id=1171) Test source, server.log and client.output
        Hide
        mf125085 added a comment -

        An important functionality, relationships using Maps in a secure environmen, is
        broken b/c of this.

        Show
        mf125085 added a comment - An important functionality, relationships using Maps in a secure environmen, is broken b/c of this.
        Hide
        basler added a comment -

        Approved for check into the SJSAS91_UR1_BRANCH

        Show
        basler added a comment - Approved for check into the SJSAS91_UR1_BRANCH
        Hide
        gfbugbridge added a comment -

        <BT6610679>

        Show
        gfbugbridge added a comment - <BT6610679>
        Hide
        mf125085 added a comment -
        Show
        mf125085 added a comment - FishEye link to fix in trunk: http://fisheye5.cenqua.com/changelog/glassfish/?cs=MAIN:mf125085:20070927182355
        Show
        mf125085 added a comment - FishEye link to UR1 check in: http://fisheye5.cenqua.com/changelog/glassfish/?cs=SJSAS91_UR1_BRANCH:mf125085:20070928234258
        Hide
        sherryshen added a comment -

        Verified the fix in 9.1ur1 build 3.

        Show
        sherryshen added a comment - Verified the fix in 9.1ur1 build 3.

          People

          • Assignee:
            mf125085
            Reporter:
            sherryshen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: