This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
-d'n'd delicious -> all -> allPosts in java main class -run it => java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at org.netbeans.saas.delicious.DeliciousBookmarkingServiceAuthenticator.<init>(DeliciousBookmarkingServiceAuthenticator.java:35) at org.netbeans.saas.delicious.DeliciousBookmarkingService.allPosts(DeliciousBookmarkingService.java:37) at javaapplication1.Main.main(Main.java:33) BUILD SUCCESSFUL (total time: 0 seconds) again issue with properties file - the code is looking for: private static final String PROP_FILE = DeliciousBookmarkingServiceAuthenticator.class.getSimpleName().toLowerCase() + ".properties"; but the name of the properties file with credentials is: deliciousbookmarkingserviceauthenticator.properties instead
working on this.
I've checked in brand new templates for supporting services such a delicious and twitter that use http-basic authentication. The new templates should fix the issue reported here. http://hg.netbeans.org/main/rev/befeab1b9041 BTW, the new templates now support prompting the user for username and password if they are not set the properties file. It is up to the developer to decide whether to use application or user identity. Passing this issue to Ayub who will work on getting this to generate correctly.
Fixed for 6.1
v.