• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF2016: large number of NullPointerExceptions at intervals

Community Beginner ,
Aug 03, 2017 Aug 03, 2017

Copy link to clipboard

Copied

We upgraded from CF9 to CF2016 a couple of weeks ago.

The following issue seems to occur every few days.  When it occurs, there are large numbers of exceptions at exactly the same instant.   There were *47* of these NullPointerExceptions in our exception.log this morning:

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

java.lang.NullPointerException

        at coldfusion.runtime.NeoJspWriter.writeOutput(NeoJspWriter.java:228)

        at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:362)

        at coldfusion.cfc.CFCProxy.flush(CFCProxy.java:357)

        at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:332)

        at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:302)

        at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:462)

        at coldfusion.runtime.SessionTracker.invokeOnSessinEnd(SessionTracker.java:292)

        at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:275)

        at coldfusion.runtime.SessionTracker.access$000(SessionTracker.java:43)

        at coldfusion.runtime.SessionTracker$SessionCleanUpAgent.run(SessionTracker.java:484)

        at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:260)

        at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

The application.log:

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

"Error","scheduler-2","08/03/17","05:11:14","","'' The specific sequence of files included or processed is: '''' "

...

Please investigate CF team.  What is going on here?  Why are we getting these exceptions?   What damage are they causing?

CF2016, RedHat7, Apache 2.4, everything patched and current.

Thanks

Views

494

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 03, 2017 Aug 03, 2017

Copy link to clipboard

Copied

I'd start with checking if there were any errors in your logs when you performed the upgrade or installation.  It may be difficult to track down since this would be an internal process to ColdFusion.  It could be the mail spooler, CF cleaning up sessions, caches being invalidated, etc.  I'd suggest something like FusionReactor would be able to help you here.  You could also expand your search to other logs around the same time and see if any activity there gives you a hint of what is happening at that time.

Nic

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 04, 2017 Aug 04, 2017

Copy link to clipboard

Copied

Hi Nic --

No, there were no errors upon install.   This appears to be something wrong at the server level.

It just happened again a few minutes ago, and from the looks of it it's an issue stemming from "SESSION CLEANUP AGENT".   Wish I knew what was going on here.  I have submitted a bug report on the tracker site but haven't heard anything back.  My primary concern is that these errors are leaving corrupted sessions hanging around, or leaking memory, or otherwise creating long term stability issues for the server.

"Error","scheduler-2","08/04/17","17:51:21","","'' The specific sequence of files included or processed is: '''' "

java.lang.NullPointerException

        at coldfusion.runtime.NeoJspWriter.writeOutput(NeoJspWriter.java:228)

        at coldfusion.runtime.NeoJspWriter.flush(NeoJspWriter.java:362)

        at coldfusion.cfc.CFCProxy.flush(CFCProxy.java:357)

        at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:332)

        at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:302)

        at coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:462)

        at coldfusion.runtime.SessionTracker.invokeOnSessinEnd(SessionTracker.java:292)

        at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:275)

        at coldfusion.runtime.SessionTracker.access$000(SessionTracker.java:43)

        at coldfusion.runtime.SessionTracker$SessionCleanUpAgent.run(SessionTracker.java:484)

        at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:260)

        at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 04, 2017 Aug 04, 2017

Copy link to clipboard

Copied

It looks like at least two other people have reported this issue in the past too.  No resolution there:

empty onSessionEnd creating NullPointerExceptions?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 06, 2017 Aug 06, 2017

Copy link to clipboard

Copied

LATEST

I agree with you, @Terry_2011_. There seems to be a bug in ColdFusion 2016's session apparatus.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation