Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » NullPointerException in GenericSession
NullPointerException in GenericSession [message #652343] Thu, 03 February 2011 16:09 Go to next message
Chris Eagan is currently offline Chris Eagan
Messages: 15
Registered: July 2009
Junior Member
I suddenly started getting this error yesterday after migrating from Hudson to Jenkins and I am stumped as to the cause. Does anyone else have this problem? Is this a Buckminster issue, subversive issue, Jenkins issue, Jenkins-Buckminster Plug-In issue?

ERROR: An internal error occurred during: "Installing".
java.lang.NullPointerException
at org.eclipse.buckminster.subversion.GenericSession.<init>(GenericSession.java:320)
at org.eclipse.buckminster.subversive.internal.SubversiveSessio n. <init>(SubversiveSession.java:264)
at org.eclipse.buckminster.subversive.internal.SubversiveReader Type.getSession(SubversiveReaderType.java:115)
at org.eclipse.buckminster.subversion.GenericReaderType.sharePr oject(GenericReaderType.java:142)
at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.createProjectBinding(WorkspaceMaterializer.java:497)
at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.installLocal(WorkspaceMaterializer.java:188)
at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.performInstallAction(WorkspaceMaterializer.java:209)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:164)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.performInstallActions(AbstractMaterializer.java:68)
at org.eclipse.buckminster.core.materializer.InstallerJob.runIn Workspace(InstallerJob.java:53)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: NullPointerException in GenericSession [message #652376 is a reply to message #652343] Thu, 03 February 2011 17:13 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
The NPE happens in a buckminster bundle so that suggests it's at least partly our fault. Can you please enter a bugzilla
for this?

Thanks,
Thomas Hallgren


On 2011-02-03 17:09, Chris Eagan wrote:
> I suddenly started getting this error yesterday after migrating from Hudson to Jenkins and I am stumped as to the cause.
> Does anyone else have this problem? Is this a Buckminster issue, subversive issue, Jenkins issue, Jenkins-Buckminster
> Plug-In issue?
>
> ERROR: An internal error occurred during: "Installing".
> java.lang.NullPointerException
> at org.eclipse.buckminster.subversion.GenericSession.<init>(GenericSession.java:320)
> at org.eclipse.buckminster.subversive.internal.SubversiveSessio n. <init>(SubversiveSession.java:264)
> at org.eclipse.buckminster.subversive.internal.SubversiveReader Type.getSession(SubversiveReaderType.java:115)
> at org.eclipse.buckminster.subversion.GenericReaderType.sharePr oject(GenericReaderType.java:142)
> at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.createProjectBinding(WorkspaceMaterializer.java:497)
> at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.installLocal(WorkspaceMaterializer.java:188)
> at org.eclipse.buckminster.core.materializer.WorkspaceMateriali zer.performInstallAction(WorkspaceMaterializer.java:209)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:164)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ
> er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ
> er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ
> er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ
> er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ
> er.delegateAndInstallRecursive(AbstractMaterializer.java:189 )
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.installRecursive(AbstractMaterializer.java:156)
> at org.eclipse.buckminster.core.materializer.AbstractMaterializ er.performInstallActions(AbstractMaterializer.java:68)
> at org.eclipse.buckminster.core.materializer.InstallerJob.runIn Workspace(InstallerJob.java:53)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Re: NullPointerException in GenericSession [message #652394 is a reply to message #652376] Thu, 03 February 2011 18:09 Go to previous messageGo to next message
Chris Eagan is currently offline Chris Eagan
Messages: 15
Registered: July 2009
Junior Member
Reported as https://bugs.eclipse.org/bugs/show_bug.cgi?id=336266
Re: NullPointerException in GenericSession [message #652430 is a reply to message #652394] Thu, 03 February 2011 20:56 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes Utzig
Messages: 329
Registered: July 2009
Senior Member
Hi Chris,

just to narrow this down a litte, has buckminster been automatically
installed by the hudson/jenkins plugin, or has it been set to update
automatically?

If so, does the install/update seem to work according to the console log
of the job?

Since it started the day you moved from hudson to jenkins it very much
sounds that the plugin is at least partially to blame for this.
I promise to investigate this very soon but I hope you understand that I
need a little extra time to figure out what exactly the impact of the
rename/fork is on the code base of the plugin.

Unfortunately there wasn't much time to prepare for the rename so I'm
not surprised that you ran into issues.

Does anybody know what will happen to the hudson instance on
eclipse.org? Stick with Hudson or move to Jenkins?
I will definitely move on to jenkins and I'm wondering if enough users
will remain on hudson to justify actively maintaining the plugin for
both jenkins and hudson.

Best regards,
Johannes
Re: NullPointerException in GenericSession [message #652453 is a reply to message #652430] Fri, 04 February 2011 00:12 Go to previous message
Chris Eagan is currently offline Chris Eagan
Messages: 15
Registered: July 2009
Junior Member
Yes, Buckminster is automatically installed by the hudson/jenkins plugin and has been set to update
automatically.

The install/update seem to work according to the console:

Checking for Buckminster Updates
[Buckminster_3.6_Subversive] $ /var/lib/jenkins/tools/Buckminster_3.6_Subversive/director/director -d /var/lib/jenkins/tools/Buckminster_3.6_Subversive/buckminster -p Buckminster -r "http://download.eclipse.org/tools/buckminster/headless-3.6, http://download.cloudsmith.com/buckminster/external-3.6" -uninstallIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.psf.feature.feature.group, org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.subversive.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group" -installIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.psf.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.emma.headless.feature.feature.group, org.eclipse.buckminster.maven.headless.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.subversive.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group"
Installing org.eclipse.equinox.p2.director.feature.feature.group 1.2.1.v20101014-1412.
Installing org.eclipse.buckminster.psf.feature.feature.group 1.0.0.r11649.
Installing org.eclipse.buckminster.pde.headless.feature.feature.group 1.2.1.r11660.
Installing org.eclipse.buckminster.emma.headless.feature.feature.group 0.9.0.r11564.
Installing org.eclipse.buckminster.maven.headless.feature.feature.group 1.2.0.r11663.
Installing org.eclipse.buckminster.core.headless.feature.feature.group 1.3.1.r11666.
Installing org.eclipse.buckminster.subversive.headless.feature.feature.group 1.1.1.r11564.
Installing org.eclipse.buckminster.cvs.headless.feature.feature.group 1.1.0.r11564.
Installing org.eclipse.buckminster.git.headless.feature.feature.group 1.0.360.r11654.
Uninstalling org.eclipse.equinox.p2.director.feature.feature.group 1.2.1.v20101014-1412.
Uninstalling org.eclipse.buckminster.psf.feature.feature.group 1.0.0.r11649.
Uninstalling org.eclipse.buckminster.emma.headless.feature.feature.group 0.9.0.r11564.
Uninstalling org.eclipse.buckminster.pde.headless.feature.feature.group 1.2.1.r11660.
Uninstalling org.eclipse.buckminster.maven.headless.feature.feature.group 1.2.0.r11663.
Uninstalling org.eclipse.buckminster.core.headless.feature.feature.group 1.3.1.r11666.
Uninstalling org.eclipse.buckminster.subversive.headless.feature.feature.group 1.1.1.r11564.
Uninstalling org.eclipse.buckminster.git.headless.feature.feature.group 1.0.360.r11654.
Uninstalling org.eclipse.buckminster.cvs.headless.feature.feature.group 1.1.0.r11564.
Operation completed in 12438 ms.


On the bug, Thomas Hallgren noted that "This occurs when the URL passed to subversion has no scheme." which I also saw when looking at the code for Buckminster. That code hasn't been touched in almost 2 years, so it is unlikely that a recent change to Buckminster is causing this.
Previous Topic:How to deal with partitions when partition is not terminal
Next Topic:Buckminster not picking up target platform?
Goto Forum:
  


Current Time: Wed Sep 17 15:36:25 GMT 2014

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

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