Actions
Bug #10994
closedError at node list display/deployement status on fresh Rudder 4.2 install
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
13
Name check:
Fix check:
Regression:
Description
I have the following error
java.lang.RuntimeException: can't render 'nothing' at scala.sys.package$.error(package.scala:27) at net.liftweb.json.JsonAST$.bufRender(JsonAST.scala:956) at net.liftweb.json.JsonAST$.render(JsonAST.scala:934) at net.liftweb.json.JsonAST$.compactRender(JsonAST.scala:918) at net.liftweb.json.package$.compactRender(package.scala:53) at com.normation.inventory.domain.AgentInfoSerialisation$.parseSecurityToken(AgentTypes.scala:206) at com.normation.inventory.domain.AgentInfoSerialisation$.$anonfun$parseCompatNonJson$3(AgentTypes.scala:251) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.domain.AgentInfoSerialisation$.$anonfun$parseCompatNonJson$1(AgentTypes.scala:247) at net.liftweb.common.EmptyBox.or(Box.scala:864) at com.normation.inventory.domain.AgentInfoSerialisation$.parseCompatNonJson(AgentTypes.scala:247) at com.normation.rudder.repository.ldap.LDAPEntityMapper.$anonfun$inventoryEntriesToNodeInfos$5(LDAPEntityMapper.scala:259) at com.normation.utils.Control$.$anonfun$sequence$1(Control.scala:54)
I still have the dummy inventory for root (and no other nodes)
Updated by Nicolas CHARLES over 7 years ago
Accepting new inventories also fail
[2017-06-22 12:22:26] ERROR com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Error when trying to parse inventory 'server-root.ocs': can't render 'nothing' java.lang.RuntimeException: can't render 'nothing' at scala.sys.package$.error(package.scala:27) at net.liftweb.json.JsonAST$.bufRender(JsonAST.scala:956) at net.liftweb.json.JsonAST$.render(JsonAST.scala:934) at net.liftweb.json.JsonAST$.compactRender(JsonAST.scala:918) at net.liftweb.json.package$.compactRender(package.scala:53) at com.normation.inventory.domain.AgentInfoSerialisation$.parseSecurityToken(AgentTypes.scala:206) at com.normation.inventory.domain.AgentInfoSerialisation$.$anonfun$parseCompatNonJson$3(AgentTypes.scala:251) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.domain.AgentInfoSerialisation$.$anonfun$parseCompatNonJson$1(AgentTypes.scala:247) at net.liftweb.common.EmptyBox.or(Box.scala:864) at com.normation.inventory.domain.AgentInfoSerialisation$.parseCompatNonJson(AgentTypes.scala:247) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$16(InventoryMapper.scala:865) at com.normation.utils.Control$.$anonfun$sequence$1(Control.scala:54) at scala.collection.Iterator.foreach(Iterator.scala:929) at scala.collection.Iterator.foreach$(Iterator.scala:929) at scala.collection.AbstractIterator.foreach(Iterator.scala:1406) at scala.collection.IterableLike.foreach(IterableLike.scala:71) at scala.collection.IterableLike.foreach$(IterableLike.scala:70) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at com.normation.utils.Control$.sequence(Control.scala:54) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$13(InventoryMapper.scala:863) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$10(InventoryMapper.scala:858) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$9(InventoryMapper.scala:857) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$8(InventoryMapper.scala:856) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$5(InventoryMapper.scala:855) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.$anonfun$nodeFromEntry$3(InventoryMapper.scala:854) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.InventoryMapper.nodeFromEntry(InventoryMapper.scala:851) at com.normation.inventory.ldap.core.InventoryMapper.nodeFromTree(InventoryMapper.scala:942) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$get$14(FullInventoryRepositoryImpl.scala:315) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$get$13(FullInventoryRepositoryImpl.scala:314) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.$anonfun$get$11(FullInventoryRepositoryImpl.scala:313) at com.normation.ldap.sdk.LDAPConnectionProvider.$anonfun$flatMap$1(LDAPConnectionProvider.scala:117) at com.normation.ldap.sdk.LDAPConnectionProvider.withCon(LDAPConnectionProvider.scala:154) at com.normation.ldap.sdk.LDAPConnectionProvider.withCon$(LDAPConnectionProvider.scala:143) at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.withCon(LDAPConnectionProvider.scala:385) at com.normation.ldap.sdk.LDAPConnectionProvider.flatMap(LDAPConnectionProvider.scala:116) at com.normation.ldap.sdk.LDAPConnectionProvider.flatMap$(LDAPConnectionProvider.scala:115) at com.normation.ldap.sdk.RWPooledSimpleAuthConnectionProvider.flatMap(LDAPConnectionProvider.scala:385) at com.normation.inventory.ldap.core.FullInventoryRepositoryImpl.get(FullInventoryRepositoryImpl.scala:312) at com.normation.inventory.services.provisioning.InventoryDigestServiceV1.getKey(CheckInventoryDigest.scala:172) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.$anonfun$onSubmit$9(FusionReportEndpoint.scala:232) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.parseInventory$1(FusionReportEndpoint.scala:231) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.onSubmit(FusionReportEndpoint.scala:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
Updated by François ARMAND over 7 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ldap-inventory/pull/116
Updated by François ARMAND over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ldap-inventory|7a78b0a10f1b0a89786174112d0bb80350de7311.
Updated by Alexis Mousset over 7 years ago
- Status changed from Pending release to Released
- Priority changed from 0 to 13
This bug has been fixed in Rudder 4.2.0~beta1 which was released today.
- 4.2.0~beta1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions