java.lang.NullPointerException

JDK Bug System | Roger Lewis | 3 years ago
  1. 0

    Java version: 1.7.0_40-b43 OS X 10.8 FF 23 Jira: bugs.openjdk.java.net Applet: Attach Screenshot (under "More Actions") Console output: Java Plug-in 10.40.2.43 Using JRE version 1.7.0_40-b43 Java HotSpot(TM) 64-Bit Server VM User home directory = /Users/duke ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@129458ea basic: tap installed basic: Creating PluginEmbeddedFrame served by com.apple.java.jrs.carenderserver-35261 basic: Done creating PluginEmbeddedFrame basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@2592cb49 basic: Plugin2ClassLoader.addURL parent called for https://bugs.openjdk.java.net/secure/applet/screenshot.jar security: Accessing keys and certificate in Mozilla user profile: null security: JSS is not configured security: Blacklist revocation check is enabled security: blacklist: created: NEED_LOAD, lastModified: 1378223624000 security: blacklist: hasBeenModifiedSince 1379684446598 (we have 1378223624000) security: Trusted libraries list check is enabled network: Cache entry found [url: https://bugs.openjdk.java.net/secure/applet/screenshot.jar, version: null] prevalidated=false/0 cache: Adding MemoryCache entry: https://bugs.openjdk.java.net/secure/applet/screenshot.jar cache: Resource https://bugs.openjdk.java.net/secure/applet/screenshot.jar has expired. network: Connecting https://bugs.openjdk.java.net/secure/applet/screenshot.jar with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80 network: Cache entry not found [url: file:/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext/sunec.jar, version: null] network: Cache entry not found [url: file:/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext/sunjce_provider.jar, version: null] security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loading SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loaded SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Checking if SSL certificate is in Deployment permanent certificate store security: Check if certificate can be verified using certificates in Root CA certificate store security: Certificate to be verified: <long list of certificates removed, as not relevant to the issue> security: Certificate has been verified with Root CA certificates successfully security: Invalid certificate from HTTPS server basic: Dialog type is not candidate for embedding security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store network: Connecting https://bugs.openjdk.java.net/secure/applet/screenshot.jar with cookie "s_nr=1378236273294; AWSELB=4B417D29167379B88359E270231A3CFDBDD5CC2E9A172868FC3098742834CC9801FA10FC0A93A08DE44EE4622161227D458AE538C05E594C19953F2D93D5455CA552C26B01; s_cc=true; s_sq=%5B%5BB%5D%5D; crowd.jbs_token_key=43Kclo4OPZelQ7OcIE2Y6Q00; atlassian.xsrf.token=BI6B-LGJG-J48D-LFXB|ef8cdaf72023869bb723c53e0de4534b804faccf|lin" network: Server https://bugs.openjdk.java.net/secure/applet/screenshot.jar requesting to set-cookie with "crowd.jbs_token_key=43Kclo4OPZelQ7OcIE2Y6Q00; Domain=.oracle.com; Path=/; Secure; HttpOnly" network: Server https://bugs.openjdk.java.net/secure/applet/screenshot.jar requesting to set-cookie with "JSESSIONID=9339E746FE4D39F1F1F0E17282117D25; Path=/; HttpOnly" network: ResponseCode for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : 304 network: Encoding for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : null network: Disconnect connection to https://bugs.openjdk.java.net/secure/applet/screenshot.jar cache: Reading Signers from 3582 https://bugs.openjdk.java.net/secure/applet/screenshot.jar | /Users/duke/Library/Application Support/Oracle/Java/Deployment/cache/6.0/20/49fa7314-4305bcda.idx cache: Done readSigners(https://bugs.openjdk.java.net/secure/applet/screenshot.jar) cache: Read manifest for https://bugs.openjdk.java.net/secure/applet/screenshot.jar: read=551 full=551 security: Trust for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar has ended: Wed Dec 31 16:00:00 PST 1969 Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar security: Loading Deployment certificates from /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs security: Loaded Deployment certificates from /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Validate the certificate chain using CertPath API security: Loading blacklisted.certs file: /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/blacklisted.certs security: SHA-256Certificate finger print: 4D1CF1CBB4EFA8634E2045ABE2F3708E5B65C01A3B4D9DEA222B77EB2D9AC988 security: SHA-256Certificate finger print: AF840CA2B9DFB776BF81AA94C401BC440C52E5C590C43607A13D6680D83E3349 security: SHA-256Certificate finger print: C99157DF28D28EBD87B8B041AACCF023CF1C9AD0D21FD7116149D7F96484FA51 security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: The OCSP support is enabled security: The CRL support is enabled security: Failing over to CRLs: Certificate does not specify OCSP responder cache: CacheEntry IP mismatch: 23.5.245.163 != 23.7.69.163 network: Cache entry not found [url: http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null] network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80 network: Downloading resource: http://crl.thawte.com/ThawtePremiumServerCA.crl Content-Length: 22,462 Content-Encoding: null network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl to File /Users/duke/Library/Application Support/Oracle/Java/Deployment/cache/6.0/38/2fb889a6-6c4fd0c8-temp cache: Adding MemoryCache entry: http://crl.thawte.com/ThawtePremiumServerCA.crl network: Connecting http://ocsp.thawte.com/ with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80 security: blacklist: hasBeenModifiedSince 1379684446598 (we have 1378223624000) security: blacklist: hasBeenModifiedSince 1378839557995 (we have 1378223624000) security: blacklist: hasBeenModifiedSince 1378839557995 (we have 1378223624000) cache: CacheEntry IP mismatch: 23.5.245.163 != 23.7.69.163 security: OCSP Response: GOOD network: Connecting http://ocsp.thawte.com/ with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80 network: CleanupThread used 369733 us security: OCSP Response: GOOD security: Certificate validation succeeded using OCSP/CRL basic: Dialog type is not candidate for embedding Trace level set to 5: all ... completed.security: User has granted the privileges to the code for this session only security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store security: Grant socket perm for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : java.security.Permissions@73619950 ( ("java.net.SocketPermission" "bugs.openjdk.java.net" "connect,accept,resolve") ) security: Trust for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar has ended: Wed Dec 31 16:00:00 PST 1969 Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar security: Validate the certificate chain using CertPath API basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar security: Validate the certificate chain using CertPath API ruleset: Non-jnlp rule id: title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/ main version: null isArtifact: true ruleset: finding Deployment Rule Set for title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/ main version: null isArtifact: true ruleset: no rule applies, returning Default Rule security: SSV validation: running: 1.7.0_40 requested: null range: null javaVersionParam: null Rule Set version: null network: Created version ID: 1.7.0.40 network: Created version ID: 1.7.0.40 security: continue with running version network: Created version ID: 1.7.0.40 network: Created version ID: 1.7 network: Created version ID: 2.2.40 security: --- parseCommandLine converted : -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug into: [-Djavaplugin.trace=true, -Djavaplugin.logging=true, -Djava.compiler=NONE, -Xnoagent, -Xdebug] basic: AppletRelaunch due to vm args network: Created version ID: 1.9 network: Created version ID: 1.8 network: Created version ID: 1.7 network: Created version ID: 1.6 network: Created version ID: 1.5 network: Created version ID: 1.4 network: Created version ID: 1.3 basic: WARNING - specified JRE version, null is invalid platform version basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@2592cb49 basic: Saving session state to /var/folders/yp/lxy5qzqn053btnngfxbq9ggw0000gn/T/session5949819034940635794 basic: Creating PluginEmbeddedFrame served by com.apple.java.jrs.carenderserver-35261 basic: Done creating PluginEmbeddedFrame preloader: Construct preloader delegate preloader: Setting default preloader and progress monitor for non JNLP applets basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@204804f8 preloader: Installing progress monitor true preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@36928c0f preloader: Using default preloader preloader: Requested to use preloader class: null preloader: Skipped all (0) download events prior to null basic: Plugin2ClassLoader.addURL parent called for https://bugs.openjdk.java.net/secure/applet/screenshot.jar preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame1,0,22,1x1,layout=java.awt.BorderLayout,title=,resizable,normal] ruleset: Non-jnlp rule id: title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/applet/screenshot.jar main version: null isArtifact: true ruleset: finding Deployment Rule Set for title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/applet/screenshot.jar main version: null isArtifact: true ruleset: no rule applies, returning Default Rule Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar security: Validate the certificate chain using CertPath API ruleset: Non-jnlp rule id: title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/ main version: null isArtifact: true ruleset: finding Deployment Rule Set for title: com.atlassian.jira.screenshot.applet.ScreenshotApplet location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup main location: https://bugs.openjdk.java.net/secure/ main version: null isArtifact: true ruleset: no rule applies, returning Default Rule security: SSV validation: running: 1.7.0_40 requested: null range: null javaVersionParam: null Rule Set version: null network: Created version ID: 1.7.0.40 network: Created version ID: 1.7.0.40 security: continue with running version network: Created version ID: 1.7.0.40 network: Created version ID: 1.7 network: Created version ID: 2.2.40 security: --- parseCommandLine converted : -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug into: [-Djavaplugin.trace=true, -Djavaplugin.logging=true, -Djava.compiler=NONE, -Xnoagent, -Xdebug] basic: AppletRelaunch due to vm args network: Created version ID: 1.9 network: Created version ID: 1.8 network: Created version ID: 1.7 network: Created version ID: 1.6 network: Created version ID: 1.5 network: Created version ID: 1.4 network: Created version ID: 1.3 basic: WARNING - specified JRE version, null is invalid platform version basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@204804f8 basic: Saving session state to /var/folders/yp/lxy5qzqn053btnngfxbq9ggw0000gn/T/session9144074160602810033 Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65) at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source) at java.awt.Component.resize(Component.java:2166) at java.awt.Component.setSize(Component.java:2155) at java.awt.Window.setSize(Window.java:908) at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) 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) Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65) at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source) at java.awt.Component.resize(Component.java:2166) at java.awt.Component.setSize(Component.java:2155) at java.awt.Window.setSize(Window.java:908) at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) 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) Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65) at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source) at java.awt.Component.resize(Component.java:2166) at java.awt.Component.setSize(Component.java:2155) at java.awt.Window.setSize(Window.java:908) at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) 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) When running with these flags the Console does not lockup, but applet still fails: -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug

    JDK Bug System | 3 years ago | Roger Lewis
    java.lang.NullPointerException
  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr()
    2. Java RT
      CEmbeddedFrame.getLayerPtr
      1. sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65)
      1 frame
    3. sun.plugin2.main
      PluginEmbeddedFrame.setBounds
      1. sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source)
      1 frame
    4. Java RT
      Window.setSize
      1. java.awt.Component.resize(Component.java:2166)
      2. java.awt.Component.setSize(Component.java:2155)
      3. java.awt.Window.setSize(Window.java:908)
      3 frames
    5. com.sun.deploy
      AWTFrameWindow$1.run
      1. com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source)
      1 frame
    6. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      14 frames