Skip to main content
Participant
August 15, 2024
Question

CF 2021 Update 14 - Intermittent [Oracle JDBC Driver]arraycopy: destination index -1 out of bounds

  • August 15, 2024
  • 2 replies
  • 963 views

After installing Update 14 on CF2021, we're seeing intermittent query errors with the message [Oracle JDBC Driver]arraycopy: destination index -1 out of bounds.

 

Could this be a driver issue?  We're connecting to an Oracle 19c v19.23.0.0.0.  I see several ojdbc jar files on the web server; ojdbc8.jar being the highest version.  

 

Any thoughts?

 

[Editorial: Corrected the update number reported here, based on subsequent information provided in this thread.)

This topic has been closed for replies.

2 replies

Charlie Arehart
Community Expert
Community Expert
August 15, 2024

One more thing, Jeffrey. You say you're on Oracle 19.23. Had you said you were on Oracle 19.24, there's a different issue that sounds similar--but in discussions in both the CF and Oracle support communities, those are said to be about going from 19.23 to .24. Anyway, you may still want to consider what's said there, including a CF Bug Tracker ticket with more (including more from me). That other forum thread is here.

 

Even so, the other info we have found and discussed about the misalignnment of your Oracle package number might still help you or others. In fact, it may even be at the root of problems for some in that other thread. But if you confirm that updating to it doesn't help, then it won't. 

 

Still, you may want to confirm that you're correct that your oracle is 19.23 and not .24. If it's the latter, then start following that other thread. 🙂

/Charlie (troubleshooter, carehart. org)
Participant
September 11, 2024

Thank you for ALL your advise and guideance.  It's much appreciated.  I'm just getting back to this issue.  I've decided to uninstall update 14 and reinstall.  If nothing else, it will give me fresh logs to review.

 

But looking at the Package Manager, under Core Server, no updates are listed: "There are no updates to Core Packages".  Yet in the {installation folder}\cufsion\hf-updates\ folder, I see evidence that I've installed updates 4, 11, 12, 13, and 14.  All installations have been manual.  Is that normal?  Would you expect that?

Charlie Arehart
Community Expert
Community Expert
August 15, 2024

Yes: what is the version of the oracle module/package as listed on the cf admin package manager page? Is it perhaps showing as being for update 14, 13, or 12, rather than for the update 11 you say you're on? (That can be confirmed at the top of that same page, as you may know.) The oracle package may even be older than for update 11, which would be OK. But if it's for a newer cf update, that could be the problem. 

/Charlie (troubleshooter, carehart. org)
Participant
August 15, 2024

Yeah I mistyped.  Update 14 is installed.  The package manager lists Oracle as v2021.0.02.328618

Charlie Arehart
Community Expert
Community Expert
August 15, 2024

That's not the good news you think it is. 🙂 There was since an update to the oracle package for update 5 and 11. I've confirmed on two machines running cf2021 update 14 that they list as "current" (for the oracle package) 2021.0.11.330247.

 

So your oracle package is NOT up to date and not in sync with your cf update, which may well be the problem. 

 

First, in that drop-down (for the oracle package on the admin), do you see it OFFERING the 2 updates beyond 02? If not, perhaps your cf instance is not able to access the Adobe site offering updates. There are several causes and solutions for that.

 

If it DOES list the other two, that begs the question why the later wasn't implemented when cf was updated to update 14. (That happens on the first launch after the update.) Something may be tracked in the cf logs about that.

 

I'll say that I can help you directly via remote screenshare consulting if this doesn't get you going (and we run out of things easily communicated here). More at carehart.org/consulting. We may not need more than 15 mins to resolve things. Just depends on the problem(s) we may encounter. 

/Charlie (troubleshooter, carehart. org)