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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Apache Cassandra Cluster Monitor – Method not found exception

Solved1.24K views11th January 2022Cassandra exception QAction scripting
1
Jens Vandewalle [SLC] [DevOps Enabler]9.44K 11th January 2022 0 Comments

Hi Dojo,

I’m testing the new Apache Cassandra Cluster Monitor connector and noticed below exception in the element log file:

2022/01/11 12:49:31.841|SLManagedScripting.exe|ManagedInterop|ERR|0|5|QA3|2|Run|Exception thrown:
System.MissingMethodException: Method not found: 'System.Guid Cassandra.Host.get_HostId()'.
   at QAction.ParseCassandraNodes(CassandraDb cassandra)
   at QAction.Run(SLProtocolExt protocol)

The protocol solution has no builds issues and all necessary DLLs are added in the ProtocolScripts folder.

Does someone has an idea why this fails?

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 11th January 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 11th January 2022 0 Comments

The problem was that we placed the necessary Cassandra DLL in the ProtocolScripts folder, while DataMiner has a Cassandra DLL of its own in the files folder. When doing a dllImport on a QAction, DataMiner will first look for a reference in the Files folder before looking in the ProtocolScripts folder.

Unfortunately, the Cassandra DLL in the files folder doesn’t contain all properties that are needed for the connector to work. Therefore the developer will change the name of the Cassandra DLL so that it can be placed in the ProtocolScripts folder and the connector will use the correct DLL.

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 11th January 2022
1
Gellynck Jens [SLC]2.71K Posted 11th January 2022 0 Comments

This exception is typically the result of code being executed using assemblies that differ from the assemblies they were compiled against. We often see this when an automation script is unchanged but a DLL reference of the script is updated (and some method signatures are different), without a DMA restart. I suspect something similar has happened with your QAction. I would check if the version of the assembly containing the Cassandra type is still correct.

Gellynck Jens [SLC] Answered question 11th January 2022
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