You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
table <- suppressMessages({
rgcam::runQuery(conn, bq$query, sc, bq$regions, warn.empty = FALSE)
})
About to perform query: collection()/scenario
About to perform query: collection()/scenario[ (@name='Ref' and @Date='2025-25-9T11:59:45+02:00') ]/world/region/[@type = 'sector' ]/[@type='subsector']//*[@type='technology']// CO2/emissions/node()
In Function: 1775028902121
java.lang.ArrayIndexOutOfBoundsException: 8
at ModelInterface.ModelGUI2.xmldb.RunMIQuery.buildTable(RunMIQuery.java:188)
at ModelInterface.ModelGUI2.xmldb.RunMIQuery.runMIQuery(RunMIQuery.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.basex.query.func.java.StaticJavaCall.eval(StaticJavaCall.java:75)
at org.basex.query.func.java.JavaCall.value(JavaCall.java:69)
at org.basex.query.expr.ParseExpr.iter(ParseExpr.java:46)
at org.basex.query.scope.MainModule.iter(MainModule.java:97)
at org.basex.query.QueryContext.iter(QueryContext.java:331)
at org.basex.query.QueryProcessor.iter(QueryProcessor.java:90)
at org.basex.core.cmd.AQuery.query(AQuery.java:107)
at org.basex.core.cmd.XQuery.run(XQuery.java:22)
at org.basex.core.Command.run(Command.java:257)
at org.basex.core.Command.execute(Command.java:93)
at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
at org.basex.api.client.Session.execute(Session.java:36)
at org.basex.core.CLI.execute(CLI.java:92)
at org.basex.BaseX.(BaseX.java:107)
at org.basex.BaseX.main(BaseX.java:43)
Stopped at C:/Users/CLAUDI~1.ROD/AppData/Local/Temp/Rtmpm2kKrs/file24787fd34b7, 1/87:
[basex:error] java.lang.ArrayIndexOutOfBoundsException: 8
Still trying to understand why it works in the MI and not through rgcam
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Through ModelInterface (on UMD computing cluster)