java.lang.NullPointerException

Atlassian JIRA | Renan Battaglin | 7 years ago
  1. 0

    Oracle does not remove memberships when the Users are deleted. The membership is kept in the CWD_MEMBERSHIP table and the records *child_id* fields are updated to null. Sometimes the User and the Membership are still in the DB, however, the *child_id* field is also updated to null. The problem is being detected when the Admins try to create an XML Backup. The following stack-trace is displayed: {code} java.lang.NullPointerException at com.atlassian.crowd.migration.MembershipMapper.addMembershipToXml(MembershipMapper.java:58) at com.atlassian.crowd.migration.MembershipMapper.exportXml(MembershipMapper.java:44) at com.atlassian.crowd.migration.XmlMigrator.exportXml(XmlMigrator.java:30) at com.atlassian.crowd.migration.XmlMigrationManagerImpl.exportXml(XmlMigrationManagerImpl.java:96) at com.atlassian.crowd.console.action.admin.Backup.doExport(Backup.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) {code} Workaround: Delete from table CWD_MEMBERSHIP the problematic entries: {code} delete from CWD_MEMBERSHIP where child_id = null {code}

    Atlassian JIRA | 7 years ago | Renan Battaglin
    java.lang.NullPointerException
  2. 0

    Oracle does not remove memberships when the Users are deleted. The membership is kept in the CWD_MEMBERSHIP table and the records *child_id* fields are updated to null. Sometimes the User and the Membership are still in the DB, however, the *child_id* field is also updated to null. The problem is being detected when the Admins try to create an XML Backup. The following stack-trace is displayed: {code} java.lang.NullPointerException at com.atlassian.crowd.migration.MembershipMapper.addMembershipToXml(MembershipMapper.java:58) at com.atlassian.crowd.migration.MembershipMapper.exportXml(MembershipMapper.java:44) at com.atlassian.crowd.migration.XmlMigrator.exportXml(XmlMigrator.java:30) at com.atlassian.crowd.migration.XmlMigrationManagerImpl.exportXml(XmlMigrationManagerImpl.java:96) at com.atlassian.crowd.console.action.admin.Backup.doExport(Backup.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) {code} Workaround: Delete from table CWD_MEMBERSHIP the problematic entries: {code} delete from CWD_MEMBERSHIP where child_id = null {code}

    Atlassian JIRA | 7 years ago | Renan Battaglin
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.crowd.migration.MembershipMapper.addMembershipToXml()
    2. com.atlassian.crowd
      Backup.doExport
      1. com.atlassian.crowd.migration.MembershipMapper.addMembershipToXml(MembershipMapper.java:58)
      2. com.atlassian.crowd.migration.MembershipMapper.exportXml(MembershipMapper.java:44)
      3. com.atlassian.crowd.migration.XmlMigrator.exportXml(XmlMigrator.java:30)
      4. com.atlassian.crowd.migration.XmlMigrationManagerImpl.exportXml(XmlMigrationManagerImpl.java:96)
      5. com.atlassian.crowd.console.action.admin.Backup.doExport(Backup.java:71)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. XWork Tiger Extensions
      DefaultActionInvocation.invokeActionOnly
      1. com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      2. com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      2 frames