Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • Program Schedule
    • Program List
    • Registration
  • Features
    • Community Day
    • Hacker Day
    • Dinner Meetups
    • OSGi Summit
    • Keynotes
  • Community
    • Code of Conduct
    • Health & Safety at EclipseCon
    • Community Resources
    • 2022 Speakers
    • Information for Speakers
  • Sponsors
    • Be a Sponsor
    • Information for Exhibitors
    • Our Sponsors
    • Sponsor Testimonials
  • Venue
    • Conference Venue
    • Hotels
    • Ludwigsburg
  • About Us
    • EclipseCon 2022
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  1. Home
  2. EclipseCon
  3. EclipseCon 2022
  4. Sessions
  5. The long good-bye to NPE

The long good-bye to NPE

Session details
Status: 
Accepted
Speaker(s): 
Stephan Herrmann (GK Software SE)
Experience level: 
Intermediate
Tags: 
null static-analysis
Session Track: 
Java
Session Type: 
Standard

11 years after I presented "Bye-bye NPE" at EclipseCon, we still see null pointer exceptions, the tooling to detect these already during compilation isn't complete, yet, and no standard has emerged.

In this presentation I will discuss some of the reasons why this is hard, harder than we thought initially and harder than it should be.

Still over the years, tooling has been improved in some directions, to be presented here, in summary:
* more heuristic knowledge about things that can or cannot be null.
* additional safety when null-annotated interacts with "legacy" code; choose your safety level.
* more practical options for working with external annotations across multiple artifacts.
 

Attendees should walk out with a realistic sense that the risk of NullPointerExceptions can be gradually reduced, if they care. And they should know the strings they need to pull to get closer to the goal.

Slides: 
PDF icon LongGoodByeToNPE_ECE_2022_16_9.pdf
Objective of the presentation: 
Inform the audience about the state of annotation based null-analysis, including recent improvements.
Attendee pre-requisites - If none, enter "N/A": 
Attendees with basic understanding of null-annotations will be at an advantage
Schedule info
Time: 
25 Oct 2022 - 15:15 to 25 Oct 2022 - 15:50
Room: 
Schubartsaal
  • Sign in to post comments.

Elite

  • IBM
  • Huawei

Premium

  • Red Hat
  • Eurotech
  • Yatta Solutions GmbH

Basic

  • SSI Schaefer IT Solutions GmbH
  • ARCAD Software
  • TypeFox GmbH
  • Obeo
  • Bosch IO GmbH
  • Mercedes-Benz Tech Innovation
  • EclipseSource
  • SCANOSS

Media

  • GermanTechJobs

Become a Sponsor

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top