Skip to main content
Inspiring
June 21, 2023
Answered

I am getting this error/exception java.lang.reflect.InvocationTargetException on cfspreadsheet

  • June 21, 2023
  • 2 replies
  • 1374 views

Hi,

I am getting the error/exception java.lang.reflect.InvocationTargetException when I tried to do cfspreadsheet action="write".

I am using Coldfusion 2021 version 2021.0.06.330132.

JVM Oracle version 11.0.18.

Operating System is Red Hat Enterprise Linux release 8.5.

 

Please help.

Thank You

    This topic has been closed for replies.

    2 replies

    joseph.yanAuthorCorrect answer
    Inspiring
    June 21, 2023
    Community Expert
    June 21, 2023

    I have no idea what would cause that, because I haven't used the CFSPREADSHEET tag in years. If I had to guess, I'd say it's a permissions issue. But you might be able to find out yourself by opening a shell, sudoing as the CF user, and trying to write a file in the same place as the spreadsheet will go. Also, are you running SELinux? That's fairly common in Red Hat.

     

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC
    Inspiring
    June 21, 2023

    SELinux is disabled and wrote to temp folder and there is no any permission issue to write into it. Thanks.

    Community Expert
    June 21, 2023

    I got nothin.

     

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC