This statement may be false, as we enter listHudsonPlugis().
Right in there we gonna crash then....

Am Donnerstag, 9. Juli 2015 16:35:51 UTC+2 schrieb jje:
>
> As I've stated, i get null pointer exception in protected JSONObject 
> buildPlugins() -->Main.java;
>
> There is no NULL Pointer check for this statement:
>
>     /**
>      * Build JSON for the plugin list.
>      * @param repository
>      * @param redirect
>      */
>     protected JSONObject buildPlugins(MavenRepository repository, 
> PrintWriter redirect) throws Exception {
>
>         ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new 
> ConfluencePluginList();
>         cpl.initialize();
>
>         int total = 0;
>
>         JSONObject plugins = new JSONObject();
>         
>         for( PluginHistory hpi : repository.listHudsonPlugins() ) {
>
> This actually causes build to crash....
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ce1f7793-4ef2-48f1-984b-f9aad38d2d77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to