Announcement Announcement Module
Collapse
No announcement yet.
Invalid path: 'null.id' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Invalid path: 'null.id'

    Code:
    1080 [main] ERROR org.hibernate.hql.PARSER -  Invalid path: 'null.id'
    1080 [main] ERROR org.hibernate.hql.PARSER - <AST>:0:0: unexpected end of subtree
    1080 [main] ERROR org.hibernate.hql.PARSER -  left-hand operand of a binary operator was null
    1080 [main] ERROR org.hibernate.hql.PARSER - <AST>:0:0: unexpected end of subtree
    1138 [main] ERROR org.hibernate.impl.SessionFactoryImpl - Error in named query: findSensorGroupBySensorId
    org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 'null.id' [SELECT sgroup FROM com.pointsix.model.security.SensorGroup AS sgroup, com.pointsix.model.security.SensorGroupEntry AS entry, com.pointsix.model.sensor.Sensor WHERE Sensor.id = ?   AND entry.sensorId = Sensor.id   AND sgroup.id = entry.sensorGroupId ]
    Hibernate gave me this error on my query. I'm unsure as to how to proceed.

    How can one of the properties be null in this circumstance?

  • #2
    Nevermind. Figured it out. Had the sensor ID twice essentially. It must have been confusing the compiler.

    Comment

    Working...
    X