Skip to main content
Inspiring
Jun 21, 2023 10:34 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
    joseph.yanCorrect answer
    Inspiring
    Jun 21, 2023 11:21 PM UTC

    4 replies

    joseph.yanAuthorCorrect answer
    Inspiring
    Jun 21, 2023 11:21 PM UTC
    Community Expert
    Jun 21, 2023 10:40 PM UTC

    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

    Translate
    Dave Watts, Eidolon LLC
    Inspiring
    Jun 21, 2023 10:49 PM UTC

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

    Translate
    Community Expert
    Jun 21, 2023 11:08 PM UTC

    I got nothin.

     

    Dave Watts, Eidolon LLC

    Translate
    Dave Watts, Eidolon LLC