Git Product home page Git Product logo

nb-native-notifications's Introduction

Apache Netbeans Native Notifications

Apache Netbeans plugins to support native notifications.

Linux native notifications using a libnotify wrapper.

Linux native notifications

Random NetBeans notification generator to test notifications.

Yoda Quote

nb-native-notifications's People

Contributors

blackleg avatar dependabot[bot] avatar hectorespert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ihsahn

nb-native-notifications's Issues

NPE due to not bundled images

The linux-2.0.0.nbm build of the NetBeans Native Notifications plugin [1] does not work and throws NullPointerException instead:
[1] https://plugins.netbeans.apache.org/catalogue/?id=42

java.lang.NullPointerException: The image parameter cannot be null
	at org.openide.util.Parameters.notNull(Parameters.java:64)
	at org.openide.util.ImageUtilities.assignToolTipToImageInternal(ImageUtilities.java:397)
	at org.openide.util.ImageUtilities.image2Icon(ImageUtilities.java:328)
	at es.blackleg.nb.notifications.quote.ErrorRandomNotificationAction.actionPerformed(ErrorRandomNotificationAction.java:45)

Looking at the code and into the NBM file it seems like the reason are missing image files:

44        Image image = ImageUtilities.loadImage("org/netbeans/modules/notifications/resources/notificationsError.png");
45        NotificationDisplayer.getDefault().notify("Chuck Norris fact", ImageUtilities.image2Icon(image), faker.chuckNorris().fact(), null, NotificationDisplayer.Priority.HIGH, NotificationDisplayer.Category.ERROR);

Tested on 2.0.0 version of the plugin in Apache NetBeans 21 RC2:

Product Version: Apache NetBeans IDE 21-rc2
Updates: Updates available
Java: 21.0.1; Java HotSpot(TM) 64-Bit Server VM 21.0.1+12-LTS-29
Runtime: Java(TM) SE Runtime Environment 21.0.1+12-LTS-29
System: Linux version 5.15.0-102-generic running on amd64; UTF-8; cs_CZ (nb)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.