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
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

GqiGetPartialTable

Solved235 views22nd April 2025GQI GQI queries
1
João Azevedo237 7th April 2025 2 Comments

Hello everyone! Can someone help me with the following error? I don't know when or what changed to make this error start occuring. My LCA started to not receive the table for my gqi. I'll leave the error image and my code bellow:

Thank you all in advance!!

private readonly GQIIntArgument _dmaArgument = new GQIIntArgument("DMA id") { IsRequired = true };
private readonly GQIIntArgument _elementArgument = new GQIIntArgument("Element id") { IsRequired = true };
private readonly GQIIntArgument _tableArgument = new GQIIntArgument("Table id") { IsRequired = true };

private GQIDMS _dms;
private int _dmaID;
private int _elementID;
private int _tableID;

public GQIArgument[] GetInputArguments() => new[] { _dmaArgument, _elementArgument, _tableArgument };

public OnArgumentsProcessedOutputArgs OnArgumentsProcessed(OnArgumentsProcessedInputArgs args)
{
_dmaID = args.GetArgumentValue(_dmaArgument);
_elementID = args.GetArgumentValue(_elementArgument);
_tableID = args.GetArgumentValue(_tableArgument);
return default;
}

public OnInitOutputArgs OnInit(OnInitInputArgs args)
{
_dms = args.DMS;
return default;
}

public GQIColumn[] GetColumns()
{
return new GQIColumn[] {
//gqi column names...
};
}

public GQIPage GetNextPage(GetNextPageInputArgs args)
{
var table = GqiGetPartialTable.GetTable(_dms, _dmaID, _elementID, _tableID);

var rows = new List<GQIRow>();
foreach (var row in table)
{
rows.Add(new GQIRow(
new GQICell[] {
// gqi values...
}));
}

return new GQIPage(rows.ToArray());
}

João Azevedo Selected answer as best 22nd April 2025
Alberto De Luca [DevOps Enabler] commented 7th April 2025

I'd check if the original elements/tables are still there on the DMA – if not, you may need to re-link the components in the dashboard // LCA

João Azevedo commented 8th April 2025

Hi Alberto, thank you for your help, but i already did those two steps, the element still exist in our dma and i did the re-link in the LCA, which return the same columns, but the error persists

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Ronald Gerard [SLC] [DevOps Advocate]1.74K Posted 18th April 2025 0 Comments

Hi João,

I don't see any issue in the code you provided, however there are some missing pieces so I'll try to give some advice on how you can uncover the root cause.

It is indeed sometimes difficult to determine the source of an exception in an ad hoc data source. Fortunately, we made some improvements recently that will log the exact stack trace of any error that occurs in the implementation.
(Starting from DataMiner 10.4 (CU15), 10.5 (CU3) or 10.5.6 or when using the GQI DxM).

In the meantime, if you're on an older version, you can wrap the implementation of your GetNextPage method in a try/catch block and do one of the following:

  • Log the full exception using the GQILogger.
  • Throw a new GenIfException with the catched exception passed in as innerException. This should automatically log the full stack trace.

That should give you a starting point to see which object that you're trying to use is a null reference.

Additionally, you can add extra log statements throughout your code to verify the actual values.

In the future, we hope to enable full debugging capabilities to make these investigations more convenient.

João Azevedo Selected answer as best 22nd April 2025
You are viewing 1 out of 1 answers, click here to view all answers.
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