[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-10-11 Thread ogon...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oliver Gondža updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Oliver Gondža  
 
 
Labels: 
 lts 2.138.3 - candidate fixed  newbie-friendly robustness  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-09-26 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Labels: 
 lts-candidate newbie-friendly robustness  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-09-26 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck edited a comment on  JENKINS-50795  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
 Addressed in 2. 143 142 .  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-09-26 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Addressed in 2.143.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-09-11 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-50795  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
 Hmm: 
 
https://github.com/jenkinsci/jenkins/blob/22aa2e6e766074d11249893e3f35e0b99e20d3d0/core/src/main/java/hudson/model/AbstractModelObject.java#L117 
Some getDisplayName() methods may return null 
 I believe we need document/annotate nulls and getDisplayName() methods in a follow-up task. Otherwise there will be a risk when such "hidden items" somehow get to the search output  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-15 Thread sorin.sbar...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sorin Sbarnea commented on  JENKINS-50795  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
 Let me know if there is something else I can do to test.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-14 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Labels: 
 newbie-friendly  robustness  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-14 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-50795  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
 There's a SearchItem that returns null on getSearchName(). Probably trivial to make the code null safe. More difficult to find the culprit, but that's probably secondary.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-14 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Labels: 
 newbie-friendly  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-14 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Issue Type: 
 Improvement Bug  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-13 Thread sorin.sbar...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sorin Sbarnea updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Change By: 
 Sorin Sbarnea  
 

  
 
 
 
 

 
  When using the search box from a job pages (as opposed to main jenkins page), user may get a null pointer exception instead of the search results. Even refreshing the page gives the same results. Going to home page and performing the same search works well. Example of  It seems that the stacktrace appears only when the  search  url:  is performed from inside a build page.    Explanation: {code:java}https:// foo-bar-qe-jenkins example . rhev com/search/?q=foobar - ci - vms.eng.some2. - stacktracehttps:// example.com/job/ util foo/search/?q=foobar - monitor - long - running-  workshttps://example.com/ job/ foo/ 12105/search/?q= DDD foobar - abcdefg - sometext - 13_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-hahannnsd  stacktrace {code} {code:java}java.lang.NullPointerExceptionat hudson.search.FixedSet.find(FixedSet.java:53)at hudson.search.Search$Mode$1.find(Search.java:209)at hudson.search.Search.find(Search.java:383)at hudson.search.Search.find(Search.java:262)at hudson.search.Search.doIndex(Search.java:85)at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:26)at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)Caused: javax.servlet.ServletExceptionat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209)at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)at org.kohsuke.stapler.Stapler.service(Stapler.java:238)at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)at 

[JIRA] (JENKINS-50795) jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)

2018-04-13 Thread sorin.sbar...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sorin Sbarnea created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50795  
 
 
  jenkins search java.lang.NullPointerException at hudson.search.FixedSet.find(FixedSet.java:53)   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 core  
 
 
Created: 
 2018-04-13 15:19  
 
 
Environment: 
 jenkins-2.89.3  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Sorin Sbarnea  
 

  
 
 
 
 

 
   When using the search box from a job pages (as opposed to main jenkins page), user may get a null pointer exception instead of the search results. Even refreshing the page gives the same results.  Going to home page and performing the same search works well. Example of search url:   

 

https://foo-bar-qe-jenkins.rhev-ci-vms.eng.some2.example.com/job/util-monitor-long-running-job/12105/search/?q=DDD-abcdefg-sometext-13_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-hahannnsd
 

   

 

java.lang.NullPointerException

at hudson.search.FixedSet.find(FixedSet.java:53)

at hudson.search.Search$Mode$1.find(Search.java:209)

at hudson.search.Search.find(Search.java:383)

at hudson.search.Search.find(Search.java:262)

at hudson.search.Search.doIndex(Search.java:85)

at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)

at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)