Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Cube Client error: Value cannot be null

159 views2 days agocube client dataminercube
5
Zain Akhtar [SLC] [DevOps Member]215 15th May 2025 3 Comments

Hi DataMiners!

Below is an issue that is observed when trying to access Cube. Has anyone seen a similar issue?

Cube logging shows the following message:

CubeVersionNumber = 10.5.2509.3170-0e5ecfec;

----------- LogID: 109 -----------
Warning
ServerTime: 5/14/2025 1:28:01 PM
ClientTime: 5/14/2025 1:28:02 PM
Grouped 11 times in 10 seconds
Message : Exception in
Exception : System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Skyline.DataMiner.Net.Search.BucketSearchIndexEntries.RemoveGarbage()
at Skyline.DataMiner.Net.Search.SearchIndex.<>c__DisplayClass4_0.<AddEntries>b__0(ValueTuple`2 entry)
at System.Threading.Tasks.Parallel.<>c__DisplayClass31_0`2.<ForEachWorker>b__0(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at Skyline.DataMiner.Net.Search.SearchIndex.AddEntries(MapSearchIndexEntries newEntries, TaxonomyNode nodeToClear, Boolean skipRemoveGarbage)
at Skyline.DataMiner.Client.Framework.Components.SearchManager.IndexElement(LiteElementInfoEvent eim)
at Skyline.DataMiner.Client.Framework.Components.SearchManager.HandleQueuedUpdate(Object item)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at Skyline.DataMiner.Net.Search.BucketSearchIndexEntries.RemoveGarbage()
at Skyline.DataMiner.Net.Search.SearchIndex.<>c__DisplayClass4_0.<AddEntries>b__0(ValueTuple`2 entry)
at System.Threading.Tasks.Parallel.<>c__DisplayClass31_0`2.<ForEachWorker>b__0(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )<---

Pieter Van Compernolle [SLC] [DevOps Enabler] Posted new comment 2 days ago
Pieter Van Compernolle [SLC] [DevOps Enabler] commented 2 days ago

Might be good to have this investigated via a support ticket, as it seems like there is some corruption in one of your elements. Disabling the indexing might allow you to proceed and login, but it's not a healthy situation. Thx

Zain Akhtar [SLC] [DevOps Member] commented 2 days ago

Hi Pieter – thank you for your feedback. DCP269834 was initially created to keep track of this inquiry.

Pieter Van Compernolle [SLC] [DevOps Enabler] commented 2 days ago

ok great, we'll take it from there. thx

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Brent [SLC]1.57K Posted 15th May 2025 1 Comment

Hi Zain,

Whilst I have not encountered this before. The callstack does provide some useful info.

The line "Skyline.DataMiner.Client.Framework.Components.SearchManager.IndexElement(LiteElementInfoEvent eim)" tells us that when cube tries to process an elementInfoEvent for the search-bar. A null is encountered, which leads to the crash. In short this is a bug in cube we will need to investigate (If you can take dumps of the process when it crashes, that would be useful, if not not worries).

To avoid encountering this, you can disable the indexing feature (the searchbar might stop working, but at least cube will remain operational). To do this:

  • Open cube
  • Go to System Center->Search&Indexing
  • Uncheck "Client Search"
  • Click "Apply"

This will apply to all users, so you only need to do it from one client.

Alternatively you could only disable the element indexing with the following steps (although other events may trigger the same issue):

  • connect to the server using client test tool.
  • Click on advanced->Options->SLNet Options
  • In the dropdown select SearchOptions
  • On every agent add ";excludeelements"
Zain Akhtar [SLC] [DevOps Member] Posted new comment 2 days ago
Zain Akhtar [SLC] [DevOps Member] commented 2 days ago

Hi Brent,

Thank you for the feedback — the information you shared is very helpful. We'll proceed with additional testing based on this and take it from there.

One thing to highlight: for the user, the indexing feature is critical, as it’s used daily for searching elements and other key tasks. Because of that, disabling indexing may not be a viable long-term solution. Just for your reference, we also have DCP269834 open for this issue. Any new findings, I'll be sure to add it here.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin