[Bazaar] Refreshing resource status

Asked by cmattmiller on 2008-07-09

I'm using Eclipse 3.4, so that may be the issue. I shared a project, then I made a change to a file and tried to save it I get this error:
 '[Bazaar] Refreshing resource status' has encountered a problem. java.lang.NullPointerException

Here is what was in my .bzr.log file:

0.203 encoding stdout as bzrlib.user_encoding 'cp1252'
0.219 bzr arguments: [u'version', u'--xml']
0.219 looking for plugins in C:\Program Files\Bazaar\plugins\launchpad
0.219 Plugin name __init__ already loaded
0.219 Plugin name __init__ already loaded
0.578 looking for plugins in C:\Program Files\Bazaar\plugins\bzr_xmloutput_0_4_5
0.578 Plugin name __init__ already loaded
0.578 Plugin name __init__ already loaded
[ 3992] 2008-07-09 14:35:49.730 WARNING: Unable to load plugin 'setup' from 'C:\\Program Files\\Bazaar\\plugins\\bzr_xmloutput_0_4_5'
0.656 Traceback (most recent call last):
  File "bzrlib\plugin.pyc", line 208, in load_from_dir
  File "<string>", line 1, in <module>
  File "C:\Program Files\Bazaar\plugins\bzr_xmloutput_0_4_5\setup.py", line 23, in <module>
ImportError: No module named core

0.734 looking for plugins in C:/Program Files/Bazaar/plugins
0.734 Plugin name launchpad already loaded
0.749 encoding stdout as bzrlib.user_encoding 'cp1252'
0.765 return code 0

Thanks,
Chris

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Plugin for Eclipse Edit question
Assignee:
No assignee Edit question
Solved by:
cmattmiller
Solved:
2008-07-10
Last query:
2008-07-10
Last reply:
2008-07-09
Guillermo Gonzalez (verterok) said : #1

This seems like a problem with the xmloutput plugin installation.
It don't make any sense why bzr is trying to import setup.py as a plugin
Also, the bzr plugin naming (by convention) is to strip the bzr- part of the plugin dir, so bzr-xmloutput, should be installed as xmloutput.
Could you check if renaming the xmloutput dir fix this problem?

cmattmiller (cmattmiller) said : #2

I still get this error " '[Bazaar] Refreshing resource status' has encountered a problem. java.lang.NullPointerException " but no error in the .bzr.log file just:

0.391 encoding stdout as bzrlib.user_encoding 'cp1252'
0.391 bzr arguments: [u'version', u'--xml']
0.391 looking for plugins in C:\Program Files\Bazaar\plugins
0.469 looking for plugins in C:/Program Files/Bazaar/plugins
0.469 Plugin name launchpad already loaded
0.469 Plugin name xmloutput already loaded
0.484 encoding stdout as bzrlib.user_encoding 'cp1252'
0.562 return code 0

Guillermo Gonzalez (verterok) said : #3

Could you create a bug and attach (or at send me) the .log file inside your workspace.
That would hep me to hunt the problem.

Regards,

--
Guillermo

cmattmiller (cmattmiller) said : #4

Sorry, my bad. I was saving it to another directory and not in the workspace. I apologize for the inconvenience.