NPE on show history

Bug #620419 reported by Cristian Vasile Mocanu on 2010-08-19
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
bzr4j
Undecided
Unassigned

Bug Description

I get a NullPointerException when I do a "show history" on the root directory of my project.

Facts:
- I am currently using IDEA X Ultimate EAP (build IU-96.802)
- IntelliJ runs under JDK 1.6.0.21
- the project is branched from an SVN repository using Tortoise BZR 0.5.4 (Bazaar 2.1.1, Python 2.5.4)

Here is the stacktrace:
java.lang.NullPointerException
 at org.emergent.bzr4j.intellij.BzrFile.buildRelativePath(BzrFile.java:77)
 at org.emergent.bzr4j.intellij.BzrFile.buildRelativePath(BzrFile.java:80)
 at org.emergent.bzr4j.intellij.BzrFile.buildRelativePath(BzrFile.java:80)
 at org.emergent.bzr4j.intellij.BzrFile.buildRelativePath(BzrFile.java:80)
 at org.emergent.bzr4j.intellij.BzrFile.getRelativePath(BzrFile.java:61)
 at org.emergent.bzr4j.intellij.command.BzrLogCommand.execute(BzrLogCommand.java:59)
 at org.emergent.bzr4j.intellij.provider.BzrHistoryProvider.reportAppendableHistory(BzrHistoryProvider.java:80)
 at com.intellij.openapi.vcs.history.VcsHistoryProviderBackgroundableProxy$2.run(VcsHistoryProviderBackgroundableProxy.java:83)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:205)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:230)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:196)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:350)
 at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:331)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125)

Related branches

Any chance for updated plugin to be released soon?

Gordon Tyler (doxxx) wrote :

I'm using bzr4intellij 2.4.3, which supposedly includes support for lightweight checkouts, but I'm still getting this error.

Benjamin Schmid (benbuntu) wrote :

Same problem here using Plugi 2.6.1, Bzr 2.3.0 stable standalone Win and IDEA 10.0.2 on a project branched from a bzr-svn checkout. Switching to git on svn for now.

Changed in bzr4j:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers