XDMP-LEXVAL viewing database status











up vote
0
down vote

favorite












I am getting the following error viewing the status page of a database:



500: Internal Server Error
XDMP-LEXVAL: fs:average("0.1031753") -- Invalid lexical value "0.1031753"
In /MarkLogic/Admin/lib/database-status-form.xqy on line 847
In displayForm()
$dbnode = <database xmlns="http://marklogic.com/xdmp/database" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">...</database>
$dbid = db:database-id("5028891274155387467")
$dbname = db:database-name("Documents")
$security-db-name = "Security"
$security-db-id = db:database-id("10247912322988672828")
$ear-enabled = "off"
$forests = xs:unsignedLong("10435492011174959372")
$master-forests = xs:unsignedLong("10435492011174959372")
$replica-forests = ()
$replica-word = "replicas"
$fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$offline-fcounts = ()
$schema-dbid = db:database-id("15863131018639151308")
$schema-forests = xs:unsignedLong("8187375150968556889")
$schema-master-forests = xs:unsignedLong("8187375150968556889")
$schema-replica-forests = ()
$schema-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$schema-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$schema-offline-fcounts = ()
$trigger-dbid = db:database-id("5001115759362581224")
$trigger-forests = xs:unsignedLong("12149639673911694816")
$trigger-master-forests = xs:unsignedLong("12149639673911694816")
$trigger-replica-forests = ()
$trigger-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$trigger-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$trigger-offline-fcounts = ()
$mstate = "available since November 10, 2018 2:09:17 PM"
$schema-mstate = "available since November 10, 2018 2:09:17 PM"
$trigger-mstate = "available since November 10, 2018 2:09:17 PM"
$other = "&amp;section=database&amp;database=5028891274155387467"
$ord = ""
$slch = fs:count("0")
$slcm = fs:count("2")
$slchr = xs:float("0")
In /MarkLogic/Admin/lib/database-status-form.xqy on line 2662
In databaseStatusPage(<xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>, <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>, ())
$schemaroot = <xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>
$datanode = <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>
$msgs = ()
In /database-status.xqy on line 16


I already tried clearing the database. After that, i do not get this error anymore. As soon as i insert a document this error returns. This behavior is the same for all databases.



Is this a known error ?
Using MarkLogic 9.0.7.










share|improve this question






















  • Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
    – grtjn
    Nov 10 at 16:01










  • Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
    – Wagner Michael
    Nov 10 at 16:15






  • 1




    Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
    – grtjn
    Nov 10 at 19:35










  • Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
    – Wagner Michael
    Nov 11 at 11:16















up vote
0
down vote

favorite












I am getting the following error viewing the status page of a database:



500: Internal Server Error
XDMP-LEXVAL: fs:average("0.1031753") -- Invalid lexical value "0.1031753"
In /MarkLogic/Admin/lib/database-status-form.xqy on line 847
In displayForm()
$dbnode = <database xmlns="http://marklogic.com/xdmp/database" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">...</database>
$dbid = db:database-id("5028891274155387467")
$dbname = db:database-name("Documents")
$security-db-name = "Security"
$security-db-id = db:database-id("10247912322988672828")
$ear-enabled = "off"
$forests = xs:unsignedLong("10435492011174959372")
$master-forests = xs:unsignedLong("10435492011174959372")
$replica-forests = ()
$replica-word = "replicas"
$fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$offline-fcounts = ()
$schema-dbid = db:database-id("15863131018639151308")
$schema-forests = xs:unsignedLong("8187375150968556889")
$schema-master-forests = xs:unsignedLong("8187375150968556889")
$schema-replica-forests = ()
$schema-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$schema-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$schema-offline-fcounts = ()
$trigger-dbid = db:database-id("5001115759362581224")
$trigger-forests = xs:unsignedLong("12149639673911694816")
$trigger-master-forests = xs:unsignedLong("12149639673911694816")
$trigger-replica-forests = ()
$trigger-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$trigger-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$trigger-offline-fcounts = ()
$mstate = "available since November 10, 2018 2:09:17 PM"
$schema-mstate = "available since November 10, 2018 2:09:17 PM"
$trigger-mstate = "available since November 10, 2018 2:09:17 PM"
$other = "&amp;section=database&amp;database=5028891274155387467"
$ord = ""
$slch = fs:count("0")
$slcm = fs:count("2")
$slchr = xs:float("0")
In /MarkLogic/Admin/lib/database-status-form.xqy on line 2662
In databaseStatusPage(<xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>, <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>, ())
$schemaroot = <xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>
$datanode = <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>
$msgs = ()
In /database-status.xqy on line 16


I already tried clearing the database. After that, i do not get this error anymore. As soon as i insert a document this error returns. This behavior is the same for all databases.



Is this a known error ?
Using MarkLogic 9.0.7.










share|improve this question






















  • Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
    – grtjn
    Nov 10 at 16:01










  • Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
    – Wagner Michael
    Nov 10 at 16:15






  • 1




    Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
    – grtjn
    Nov 10 at 19:35










  • Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
    – Wagner Michael
    Nov 11 at 11:16













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am getting the following error viewing the status page of a database:



500: Internal Server Error
XDMP-LEXVAL: fs:average("0.1031753") -- Invalid lexical value "0.1031753"
In /MarkLogic/Admin/lib/database-status-form.xqy on line 847
In displayForm()
$dbnode = <database xmlns="http://marklogic.com/xdmp/database" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">...</database>
$dbid = db:database-id("5028891274155387467")
$dbname = db:database-name("Documents")
$security-db-name = "Security"
$security-db-id = db:database-id("10247912322988672828")
$ear-enabled = "off"
$forests = xs:unsignedLong("10435492011174959372")
$master-forests = xs:unsignedLong("10435492011174959372")
$replica-forests = ()
$replica-word = "replicas"
$fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$offline-fcounts = ()
$schema-dbid = db:database-id("15863131018639151308")
$schema-forests = xs:unsignedLong("8187375150968556889")
$schema-master-forests = xs:unsignedLong("8187375150968556889")
$schema-replica-forests = ()
$schema-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$schema-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$schema-offline-fcounts = ()
$trigger-dbid = db:database-id("5001115759362581224")
$trigger-forests = xs:unsignedLong("12149639673911694816")
$trigger-master-forests = xs:unsignedLong("12149639673911694816")
$trigger-replica-forests = ()
$trigger-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$trigger-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$trigger-offline-fcounts = ()
$mstate = "available since November 10, 2018 2:09:17 PM"
$schema-mstate = "available since November 10, 2018 2:09:17 PM"
$trigger-mstate = "available since November 10, 2018 2:09:17 PM"
$other = "&amp;section=database&amp;database=5028891274155387467"
$ord = ""
$slch = fs:count("0")
$slcm = fs:count("2")
$slchr = xs:float("0")
In /MarkLogic/Admin/lib/database-status-form.xqy on line 2662
In databaseStatusPage(<xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>, <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>, ())
$schemaroot = <xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>
$datanode = <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>
$msgs = ()
In /database-status.xqy on line 16


I already tried clearing the database. After that, i do not get this error anymore. As soon as i insert a document this error returns. This behavior is the same for all databases.



Is this a known error ?
Using MarkLogic 9.0.7.










share|improve this question













I am getting the following error viewing the status page of a database:



500: Internal Server Error
XDMP-LEXVAL: fs:average("0.1031753") -- Invalid lexical value "0.1031753"
In /MarkLogic/Admin/lib/database-status-form.xqy on line 847
In displayForm()
$dbnode = <database xmlns="http://marklogic.com/xdmp/database" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">...</database>
$dbid = db:database-id("5028891274155387467")
$dbname = db:database-name("Documents")
$security-db-name = "Security"
$security-db-id = db:database-id("10247912322988672828")
$ear-enabled = "off"
$forests = xs:unsignedLong("10435492011174959372")
$master-forests = xs:unsignedLong("10435492011174959372")
$replica-forests = ()
$replica-word = "replicas"
$fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$offline-fcounts = ()
$schema-dbid = db:database-id("15863131018639151308")
$schema-forests = xs:unsignedLong("8187375150968556889")
$schema-master-forests = xs:unsignedLong("8187375150968556889")
$schema-replica-forests = ()
$schema-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$schema-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$schema-offline-fcounts = ()
$trigger-dbid = db:database-id("5001115759362581224")
$trigger-forests = xs:unsignedLong("12149639673911694816")
$trigger-master-forests = xs:unsignedLong("12149639673911694816")
$trigger-replica-forests = ()
$trigger-fstats = <forest-status xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-status>
$trigger-fcounts = <forest-counts xmlns="http://marklogic.com/xdmp/status/forest"><forest-id>...</forest-id>...</forest-counts>
$trigger-offline-fcounts = ()
$mstate = "available since November 10, 2018 2:09:17 PM"
$schema-mstate = "available since November 10, 2018 2:09:17 PM"
$trigger-mstate = "available since November 10, 2018 2:09:17 PM"
$other = "&amp;section=database&amp;database=5028891274155387467"
$ord = ""
$slch = fs:count("0")
$slcm = fs:count("2")
$slchr = xs:float("0")
In /MarkLogic/Admin/lib/database-status-form.xqy on line 2662
In databaseStatusPage(<xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>, <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>, ())
$schemaroot = <xs:schema targetNamespace="http://marklogic.com/xdmp/database" xsi:schemaLocation="..." .../>
$datanode = <databases xsi:schemaLocation="http://marklogic.com/xdmp/database..." .../>
$msgs = ()
In /database-status.xqy on line 16


I already tried clearing the database. After that, i do not get this error anymore. As soon as i insert a document this error returns. This behavior is the same for all databases.



Is this a known error ?
Using MarkLogic 9.0.7.







marklogic marklogic-9






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 13:25









Wagner Michael

1,057722




1,057722












  • Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
    – grtjn
    Nov 10 at 16:01










  • Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
    – Wagner Michael
    Nov 10 at 16:15






  • 1




    Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
    – grtjn
    Nov 10 at 19:35










  • Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
    – Wagner Michael
    Nov 11 at 11:16


















  • Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
    – grtjn
    Nov 10 at 16:01










  • Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
    – Wagner Michael
    Nov 10 at 16:15






  • 1




    Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
    – grtjn
    Nov 10 at 19:35










  • Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
    – Wagner Michael
    Nov 11 at 11:16
















Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
– grtjn
Nov 10 at 16:01




Is there anything special about the document? Does it work if you insert an xml doc containing only <test/>?
– grtjn
Nov 10 at 16:01












Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
– Wagner Michael
Nov 10 at 16:15




Nope, nothing special. xdmp:document-insert("test.xml",<test/>) raises the error.
– Wagner Michael
Nov 10 at 16:15




1




1




Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
– grtjn
Nov 10 at 19:35




Did you upgrade from an older version? I'd recommend reaching out to Support if possible..
– grtjn
Nov 10 at 19:35












Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
– Wagner Michael
Nov 11 at 11:16




Hm i upgraded from 9.0-4 some time ago. Not sure if it worked directly after that upgrade. Anyway, this is a developer machine, so i reinstalled MarkLogic and it now seems to work again.
– Wagner Michael
Nov 11 at 11:16

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239398%2fxdmp-lexval-viewing-database-status%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239398%2fxdmp-lexval-viewing-database-status%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

The Sandy Post

Danny Elfman

Pages that link to "Head v. Amoskeag Manufacturing Co."