Skip to main content
December 2, 2024
Question

Log Reader Returning JaxbConversionException error

  • December 2, 2024
  • 5 replies
  • 0 views

Has anyone gotten the following error (or similar) for the systemlogsrecordtypesource function? It's for the the Log Reader plugin.

Expression evaluation error at function 'systemlogsrecordtypesource' [line 7]: The passed parameter(s) are of the wrong type. Received the type com.appiancorp.common.xml.JaxbConversionException: JAXB failure trying to convert typed value TypedValue[it=1474,v={TypedValue[it=1478,v=<null>],TypedValue[it=1154,v=<null>],{1,20,<null>}}] to java class com.appiancorp.common.query.Query.

It's a simple few lines of code:

systemlogsrecordtypesource( a!query( pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 20) ) )

Strangely, I cannot replicate this across environments. I've confirmed the environments are on the same version of Appian, so I am unsure what to check for next.

5 replies

mathieud0001
December 2, 2024

Yes, I have that error as well on 24.3

amitc3724Author
December 3, 2024

Interesting. Do you get that error for all your 24.3 environments? It only happens for one of my environments - the others work fine.

mathieud0001
December 3, 2024

That's interesting. I only have one environment. However, I've found that if you pass it a null, it returns some values.

However, I'm not sure how reliable this function is since doesn't seem to return all the log files.