Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
I've filed a bug report! Thank you for your help!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=329448
Previous Topic:Infocenter (Tomcat) only locally available - SOLVED
Next Topic:Help Contents empty
Goto Forum:
  


Current Time: Wed Apr 23 02:20:59 EDT 2025

Powered by FUDForum. Page generated in 0.25454 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top