org.hibernate.PropertyValueException: not-null property references a null or transient value: com.wipro.sms.automatedwsr.wsr.model.Task.wsrId

coderanch.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.hibernate.PropertyValueException: not-null property references a null or transient value: (Object Relational Mapping forum at Coderanch)

    coderanch.com | 9 months ago
    org.hibernate.PropertyValueException: not-null property references a null or transient value: com.wipro.sms.automatedwsr.wsr.model.Task.wsrId

    Root Cause Analysis

    1. org.hibernate.PropertyValueException

      not-null property references a null or transient value: com.wipro.sms.automatedwsr.wsr.model.Task.wsrId

      at junit.framework.TestResult$1.protect()
    2. JUnit
      TestCase.run
      1. junit.framework.TestResult$1.protect(TestResult.java:106)
      2. junit.framework.TestResult.runProtected(TestResult.java:124)
      3. junit.framework.TestResult.run(TestResult.java:109)
      4. junit.framework.TestCase.run(TestCase.java:118)
      4 frames
    3. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames