org.springframework.dao.InvalidDataAccessApiUsageException

The OpenNMS Issue Tracker | Scott Hughes | 2 years ago
  1. 0

    [NMS-5029] linkd needs to "upsert" entries in the ipRouteInterface, atinterface, vlan tables - The OpenNMS Issue Tracker

    opennms.org | 11 months ago
    org.springframework.dao.InvalidDataAccessApiUsageException: The given object has a null identifier: org.opennms.netmgt.model.OnmsVlan; nested exception is org.hibernate.TransientObjectException: The given object has a null identifier: org.opennms.netmgt.model.OnmsVlan
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.dao.InvalidDataAccessApiUsageException

      No message provided

      at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed()
    2. Hibernate
      HibernateTemplate.update
      1. org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1279)
      2. org.springframework.orm.hibernate3.HibernateTemplate$14.doInHibernate(HibernateTemplate.java:748)
      3. org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
      4. org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:379)
      5. org.springframework.orm.hibernate3.HibernateTemplate.update(HibernateTemplate.java:745)
      6. org.springframework.orm.hibernate3.HibernateTemplate.update(HibernateTemplate.java:740)
      6 frames
    3. org.opennms.netmgt
      NodeLabelDaoImpl.assignLabel
      1. org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate.update(AbstractDaoHibernate.java:426)
      2. org.opennms.netmgt.dao.hibernate.NodeLabelDaoImpl.assignLabel(NodeLabelDaoImpl.java:215)
      2 frames
    4. org.opennms.web
      NodeLabelChangeServlet.doPost
      1. org.opennms.web.nodelabel.NodeLabelChangeServlet.doPost(NodeLabelChangeServlet.java:145)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      2 frames