Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Nullpointer while searching
Nullpointer while searching [message #635392] Tue, 26 October 2010 12:12 Go to next message
Matthias is currently offline Matthias
Messages: 45
Registered: August 2010
Member
Hi,
searching from my local machine with locally hostet infocenter on tomcat works.

The problem is, when I try to search from an rcp app on another computer I get the following error:
Während "Lokale Hilfe" ist ein interner Fehler aufgetreten.
java.lang.NullPointerException
 at org.eclipse.help.internal.util.URLCoder.encode(URLCoder.java:20)
 at org.eclipse.help.internal.search.SearchResults.addHits(SearchResults.java:51)
 at org.eclipse.help.internal.search.SearchManager$BufferedSearchHitCollector.flush(SearchManager.java:183)
 at org.eclipse.help.internal.search.SearchManager.searchLocalAndRemote(SearchManager.java:122)
 at org.eclipse.help.internal.search.SearchManager.search(SearchManager.java:78)
 at org.eclipse.help.internal.search.federated.LocalHelp.run(LocalHelp.java:54)
 at org.eclipse.help.internal.search.federated.FederatedSearchJob.run(FederatedSearchJob.java:38)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Everything else works fine, even the dynamic search function...

Hope someone can help.. Thanks in advance!
Re: Nullpointer while searching [message #635998 is a reply to message #635392] Thu, 28 October 2010 17:35 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Are you seeing the error on the client side or on the server side? This problem is not familiar to me.
Re: Nullpointer while searching [message #636635 is a reply to message #635392] Tue, 02 November 2010 06:05 Go to previous messageGo to next message
Matthias is currently offline Matthias
Messages: 45
Registered: August 2010
Member
The problem is on the client side. Very strange problem..
Re: Nullpointer while searching [message #637058 is a reply to message #636635] Wed, 03 November 2010 19:41 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Can you file a bug report and include the stack trace. It seems that it would be easy to fix - we need to handle the case where highlightTerms is null, I don't understand though why this has not been reported before if there is a path through the code which allows highlightTerms to be null.
Re: Nullpointer while searching [message #637218 is a reply to message #635392] Thu, 04 November 2010 11:55 Go to previous message
Matthias is currently offline Matthias
Messages: 45
Registered: August 2010
Member
I've filed a bug report! Thank you for your help!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329448
Previous Topic:Anyone have experience with PDF generation from Eclipse Help?
Next Topic:Help Contents empty
Goto Forum:
  


Current Time: Fri Aug 01 11:59:16 EDT 2014

Powered by FUDForum. Page generated in 0.01991 seconds