|
Hi
Since vesion 2.0.4 I'm unable to select the staging repository because a NPE occurs server-side. I'm trying it with Jenkins 1.428 and Maven 3. Here's what the logs show:
WARNING: Caught exception evaluating: !it.artifactoryPro ? 'disabled' : null. Reason: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... Caused by: java.lang.NullPointerException at org.jfrog.hudson.release.ReleaseAction.isArtifactoryPro(ReleaseAction.java:144) That happens because the redeploy publisher is null but I don't know why.
Is there something I could do to fix this or is it broken? Thanks! ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Hi Nicky,
This usually happen when the server name is modified in Jenkins global configuration page. After changing the name you must reconfigure all the jobs that used this server. Let me know if it solves it. Yossi On Mon, Jan 9, 2012 at 21:11, Nicky Ramone <[hidden email]> wrote: Hi ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Hi Yossi
Unfortunately that doesn't solve it. I tried everything from scratch. I tried with several versions. I'm not sure what could be wrong. I don't have any weird config. On Tue, Jan 10, 2012 at 6:06 AM, Yossi Shaul <[hidden email]> wrote:
------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
First try updating to the latest plugin version 2.0.5. It is compatible with the version of Jenkins you have and might fixed it.
If it doesn't please send the job build log and jenkins log (you can send it also to [hidden email]) Yossi On Tue, Jan 10, 2012 at 16:36, Nicky Ramone <[hidden email]> wrote: Hi Yossi ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
I tried 2.0.5 and 2.0.4 with Jenkins 1.447, 1.432 and even with 1.428 which is the minimum required core, but to no avail.
Could it could be a problem when running it locally? I am trying with winstone (java -jar jenkins.war) and with jetty (hpi:run).
However,I have Jenkins 1.432 on a Tomcat in a remote server and I don't have that problem there. Noam mentioned that there's a classpath issue for a logger class with Jetty. Maybe this could be a similar problem?
On Tue, Jan 10, 2012 at 11:41 AM, Yossi Shaul <[hidden email]> wrote:
------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
Same thing happened when I tried it on Tomcat.
On Tue, Jan 10, 2012 at 12:11 PM, Nicky Ramone <[hidden email]> wrote: I tried 2.0.5 and 2.0.4 with Jenkins 1.447, 1.432 and even with 1.428 which is the minimum required core, but to no avail. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
I just realized that this was caused because I didn't check "Deploy artifacts to Artifactory" in the job configuration check.
That enables the staging repositories. Cheers.
On Tue, Jan 10, 2012 at 4:42 PM, Nicky Ramone <[hidden email]> wrote: Same thing happened when I tried it on Tomcat. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Artifactory-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Powered by Nabble | See how NAML generates this page |
