Getting NullPointerException in running cef application

Having problems with building or using the JCEF Java binding? Ask your questions here.

Getting NullPointerException in running cef application

Postby Noman » Fri Jul 08, 2016 2:44 am

I am using cef in my sewing based application and deploy on ubuntu machine. It frequently given Nullpointer exception however application running without any problem. Does it mean to something and how i can resolve this. Here is console output:

Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at org.cef.browser.CefBrowserOsr.onPaint(CefBrowserOsr.java:263)
   at org.cef.CefClient.onPaint(CefClient.java:758)
   at org.cef.CefApp.N_DoMessageLoopWork(Native Method)
   at org.cef.CefApp.access$1400(CefApp.java:23)
   at org.cef.CefApp$5.run(CefApp.java:274)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
   at java.awt.EventQueue.access$300(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:706)
   at java.awt.EventQueue$3.run(EventQueue.java:704)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Noman
Newbie
 
Posts: 7
Joined: Wed Feb 11, 2015 9:52 am

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 38 guests