Service console warning...

0
Hi I get the following warning in the service console and was wondering how to fix the issue. Failed cluster management action: cleanup orphaned files. java.lang.NullPointerException: null     at scala.collection.StringOps$.forall$extension(StringOps.scala:1050)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.$anonfun$retrieveReferencedFiles$1(UnreferencedFileCleanup.scala:171)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.$anonfun$retrieveReferencedFiles$1$adapted(UnreferencedFileCleanup.scala:171)     at scala.collection.immutable.List.filter(List.scala:515)     at scala.collection.immutable.List.filter(List.scala:79)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.retrieveReferencedFiles(UnreferencedFileCleanup.scala:171)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.deleteUnreferencedFiles(UnreferencedFileCleanup.scala:135)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.cleanup$1(UnreferencedFileCleanup.scala:100)     at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.cleanUpOrphans(UnreferencedFileCleanup.scala:104)     at com.mendix.basis.action.system.ClusterManagementAction$.$anonfun$cleanupOrphanFiles$2(ClusterManagementAction.scala:76)     at com.mendix.basis.action.system.ClusterManagementAction$.$anonfun$cleanupOrphanFiles$2$adapted(ClusterManagementAction.scala:75)     at com.mendix.basis.action.system.ClusterManagementAction$$anon$1.execute(ClusterManagementAction.scala:24)     at com.mendix.basis.action.system.ManagementAction.executeWithLogging(ManagementAction.scala:21)     at com.mendix.basis.action.system.ManagementAction.executeWithLogging$(ManagementAction.scala:18)     at com.mendix.basis.action.system.ClusterManagementAction.executeWithLogging(ClusterManagementAction.scala:102)     at com.mendix.basis.action.system.ClusterManagementAction.$anonfun$schedule$1(ClusterManagementAction.scala:108)     at com.mendix.basis.action.system.ClusterManagementAction.$anonfun$schedule$1$adapted(ClusterManagementAction.scala:108)     at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$registerPeriodicAction$1(MxRuntimeImpl.scala:211)     at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$registerPeriodicAction$1$adapted(MxRuntimeImpl.scala:211)     at com.mendix.basis.actionmanagement.ActionRegistry$$anon$1.executeAction(ActionRegistry.scala:93)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48)     at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.$anonfun$runMonitoredAction$1(CoreActionHandlerImpl.scala:59)     at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:49)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)     at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:49)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:59)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:46)     at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56)     at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104)     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103)     at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:57)     at com.mendix.modules.queue.UserActionTask.$anonfun$execute$1(UserActionTask.scala:41)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)     at scala.util.Try$.apply(Try.scala:210)     at com.mendix.modules.queue.UserActionTask.execute(UserActionTask.scala:35)     at com.mendix.modules.queue.TaskDispatcher.executeTask(TaskDispatcher.scala:229)     at com.mendix.modules.queue.TaskDispatcher.$anonfun$dispatchTask$2(TaskDispatcher.scala:209)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)     at com.mendix.modules.queue.MendixTaskQueueMetrics$QueueBasedMetricsImpl.$anonfun$timeTaskExecution$1(TaskQueueMetrics.scala:44)     at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:65)     at com.mendix.metrics.micrometer.MicrometerTimer.record(MicrometerTimer.scala:29)     at com.mendix.modules.queue.MendixTaskQueueMetrics$QueueBasedMetricsImpl.timeTaskExecution(TaskQueueMetrics.scala:44)     at com.mendix.modules.queue.TaskDispatcher.$anonfun$dispatchTask$1(TaskDispatcher.scala:209)     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     at java.base/java.lang.Thread.run(Thread.java:834)  
asked
1 answers
2

Hi George,

 

It's a null pointer error.

The null pointer error occurs when there is no object returned from a retrieve or when an attribute on an object is empty. Please debug your microflow and check which value is null while operating.

 

Hope it helps!

answered