The following code is running fine when i run the application from netbeans
ThumbnailLabel lblImg =new ThumbnailLabel(new javax.swing.ImageIcon(
getClass().getResource("/jewelleryerpapplication/GUI/resources/NoPicture.png")));
Then I clean build the solution as mentioned in different posts for this issue.After that when i double click App.jar from dist folder then following exception occurs.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)