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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ee23f420-fe47-40e5-91a2-9b5055b82794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to