0.0.18.200805050421 seems to be broken in Eclipse 3.3

Asked by Russel Winder

I rarely use Eclipse (but here is not the place to have a rant :-) but occasionally I have to and then it is great to have Bazaar capability and not have to suffer Subversion. Today I started Eclipse and did a plugin upgrade. My 0.0.17 got upgraded to 0.0.18. Now I cannot start a new project by branching a branch, it just gives me a java.lang.NullPointerException.

If I try to check the upgrade site I get "No features found opn the selected site(s). Choose a different site or site category." I checked and http://bzr-eclipse.sourceforge.net/update-site is definitely the URL being looked at -- and it was the place the 0.0.17 -> 0.0.18 upgrade came from.

Is there any way of getting Bazaar to work from Eclipse?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Plugin for Eclipse Edit question
Assignee:
No assignee Edit question
Solved by:
Guillermo Gonzalez
Solved:
Last query:
Last reply:
Revision history for this message
Guillermo Gonzalez (verterok) said :
#1

Hi Russel,
    After checking this, I realised there is a bug in the paths/URI handling, if you are using a absolute file path to the parent branch it give this error.
    Please use paths with the URI, like: file:///home/user/bzr/code/branch until I fix this and make a new build.

Regards.

Revision history for this message
Guillermo Gonzalez (verterok) said :
#2

Hi Russel,
    After checking this, I realised there is a bug in the paths/URI handling, if you are using a absolute file path to the parent branch it give this error.
    Please use paths with the URI, like: file:///home/user/bzr/code/branch until I fix this and make a new build.

Regards.

Revision history for this message
Russel Winder (russel) said :
#3

Unfortunately using a file: URL also gives me an NPE :-(

Revision history for this message
Guillermo Gonzalez (verterok) said :
#4

Russel,
  I just created a Bug for this, could you attach the stacktrace.
  The log is located in <workspace>/.metadata/.log

Revision history for this message
Russel Winder (russel) said :
#5

Curses, I don't get the karma for posting the bug ;-)

Revision history for this message
Guillermo Gonzalez (verterok) said :
#6

I can mark it as invalid, so you can get karma ;-)
what is the URL you are passing to the branch wizard?

Revision history for this message
Russel Winder (russel) said :
#7

I first tried /home/users/russel/Repositories/Bazaar/Subversion_Branches/Gant/Trunk then file:///home/users/russel/Repositories/Bazaar/Subversion_Branches/Gant/Trunk. Given that it is not clear which directory is the start directory for Eclipse, I assumed absolute paths were required. Perhaps I could try using $HOME or something?

I guess I should replicate this on the bug, and that we should switch all messages to the bug and close this question?

Revision history for this message
Best Guillermo Gonzalez (verterok) said :
#8

Agree on move this to the bug, thanks!

Revision history for this message
Russel Winder (russel) said :
#9

Thanks Guillermo Gonzalez, that solved my question.