From: SourceForge.net <no...@so...> - 2008-05-12 14:07:32
|
Bugs item #1942816, was opened at 2008-04-15 09:01 Message generated for change (Comment added) made by qfilgus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=1942816&group_id=50595 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stephan Kotsch (skotsch) Assigned to: Nobody/Anonymous (nobody) Summary: Error while refreshing ressources Initial Comment: I get the following Exception, if I try to refresh any ressource under clearcase control: Message: An internal error occurred during: "Refreshing ClearCase Resource States". Exception Stack Trace: java.lang.NullPointerException at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:169) at net.sourceforge.eclipseccase.StateCache.doUpdate(StateCache.java:127) at net.sourceforge.eclipseccase.StateCacheJob.execute(StateCacheJob.java:117) at net.sourceforge.eclipseccase.StateCacheJobQueue.executePendingJobs(StateCacheJobQueue.java:134) at net.sourceforge.eclipseccase.StateCacheJobQueue.run(StateCacheJobQueue.java:89) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Because of this error it is impossible to work with this plugin. Have you any idea what I do wrong? Thanks, Stephan ---------------------------------------------------------------------- Comment By: Filip Gustafsson (qfilgus) Date: 2008-05-12 14:07 Message: Logged In: YES user_id=1628986 Originator: NO I can not find my comment in the dev list so I add it here to be sure that is not missed. In class "net.sourceforge.eclipseccase.StateCache" in method "doUpdate" at line 169 add a nullpointer check for newState. ClearCaseElementState newState = ClearcasePlugin.getEngine ().getElementState(osPath); if (newState != null) { boolean newHasRemote = newState.isElement(); .. .. .. } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=1942816&group_id=50595 |