facebook

CVS History crashes with NullPointerException on Blue

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #291355 Reply

    Paul_P
    Member

    Hello,

    some of my colleagues are having problems with the CVS Client in MyEclipse Blue Edition. To reproduce the problem:
    – right-click on a file in Package Explorer or Navigator
    – click on “Compare with” -> “History”

    A error window is shown, with the title “Problem Occured” and the message: An internal error occured during “Fetching CVS revision history”.
    java.lang.NullPointerException

    This problem doesn’t occur in Eclipse, only in MyEclipse (Blue).

    Can you please fix this bug?

    Thanks & Regards,

    Paul P

    PS Our MyEclipse Installation Summary:

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 6.5.1 Blue GA
    Build id: 6.5.1-Blue-GA-20080715

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 6.5.1 Blue GA
    Build id: 6.5.1-Blue-GA-20080715

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    #291360 Reply

    Loyal Water
    Member

    Paul,
    Is there any additional information about this error logged under <workspace>/.metadata/.log file?

    #291364 Reply

    Paul_P
    Member

    Hi Nipun,

    we get the following error in the log file (<workspace>/.metadata/.log). This error occurs in the perspective “CVS Repository Exploring” when right-clicking a file (no matter which one) from a project and then selecting “Show History”.

    !ENTRY org.eclipse.core.jobs 4 2 2008-11-25 17:21:27.164
    !MESSAGE An internal error occurred during: “Fetching CVS revision history”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.team.internal.ccvs.core.filehistory.CVSFileHistory.refresh(CVSFileHistory.java:107)
    at org.eclipse.team.internal.ccvs.ui.CVSHistoryPage$RefreshCVSFileHistory.run(CVSHistoryPage.java:1319)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Regards,

    Paul P

    #291368 Reply

    Riyad Kalla
    Member

    Paul,

    I was unable to reproduce this using our Examples on Demand repository as an example. Can you go to the MyEclipse menu, then Examples on Demand, and install the DWRSpring application.

    Then expand it, go down to summary.jspf and right-click, go to Compare With > History… and see what happens?

    I attached screenshots of what I saw for comparison.

    Attachments:
    You must be logged in to view attached files.
    #311163 Reply

    Aparna
    Member

    Hi Nipun,
    I too have the same problem that Paul has mentioned. I did try what you suggested and the following is the error I get.

    Unhandled event loop exception

    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:3865)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.SWT.error(SWT.java:3770)
    at org.eclipse.swt.custom.SashForm.setWeights(SashForm.java:428)
    at org.eclipse.team.internal.ccvs.ui.CVSHistoryPage.createControl(CVSHistoryPage.java:256)
    at org.eclipse.team.internal.ui.history.GenericHistoryView.createPage(GenericHistoryView.java:857)
    at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryPageFor(GenericHistoryView.java:727)
    at org.eclipse.team.ui.TeamUI.showInputInView(TeamUI.java:124)
    at org.eclipse.team.ui.TeamUI.showHistoryFor(TeamUI.java:112)
    at org.eclipse.team.internal.ccvs.ui.actions.ShowResourceInHistoryAction$1.run(ShowResourceInHistoryAction.java:35)
    at org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager.run(RepositoryManager.java:717)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$2.run(CVSAction.java:360)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$3.run(CVSAction.java:369)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:366)
    at org.eclipse.team.internal.ccvs.ui.actions.ShowResourceInHistoryAction.execute(ShowResourceInHistoryAction.java:31)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117)
    at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Any help is greatly appreciated.

    Thanks,
    Aparna

    #311164 Reply

    Aparna
    Member

    Hi Nipun,
    I too have the same problem that Paul has mentioned. I did try what you suggested and the following is the error I get.

    Unhandled event loop exception

    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:3865)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.SWT.error(SWT.java:3770)
    at org.eclipse.swt.custom.SashForm.setWeights(SashForm.java:428)
    at org.eclipse.team.internal.ccvs.ui.CVSHistoryPage.createControl(CVSHistoryPage.java:256)
    at org.eclipse.team.internal.ui.history.GenericHistoryView.createPage(GenericHistoryView.java:857)
    at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryPageFor(GenericHistoryView.java:727)
    at org.eclipse.team.ui.TeamUI.showInputInView(TeamUI.java:124)
    at org.eclipse.team.ui.TeamUI.showHistoryFor(TeamUI.java:112)
    at org.eclipse.team.internal.ccvs.ui.actions.ShowResourceInHistoryAction$1.run(ShowResourceInHistoryAction.java:35)
    at org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager.run(RepositoryManager.java:717)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$2.run(CVSAction.java:360)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$3.run(CVSAction.java:369)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:366)
    at org.eclipse.team.internal.ccvs.ui.actions.ShowResourceInHistoryAction.execute(ShowResourceInHistoryAction.java:31)
    at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117)
    at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Any help is greatly appreciated.

    Thanks,
    Aparna

    #311180 Reply

    Aparna,
    Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
    Is there any file type in particular that is causing this issue?

    #311185 Reply

    Aparna
    Member

    Hi Shalini,
    Thanks for responding, here are the installation details

    *** Date:
    Wednesday, September 8, 2010 6:30:26 AM CDT

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6
    Build id: 8.6-20100806

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6
    Build id: 8.6-20100806

    Eclipse Platform

    Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB
    Build id: M20100211-1343

    Eclipse Java Development Tools

    Version: 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
    Build id: M20100211-1343

    Eclipse Plug-in Development Environment

    Version: 3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo
    Build id: M20100211-1343

    Eclipse Graphical Editing Framework GEF

    Version: 3.5.2.v20100111-1352-777928194B66D5D476C33B2A
    Build id: 201001111753

    Eclipse RCP

    Version: 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6
    Build id: M20100211-1343

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\MyEclipse-8.6\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\MyEclipse-8.6\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\MyEclipse-8.6\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -configuration
    configuration
    -vm
    C:\MyEclipse-8.6\binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    #311213 Reply

    Aparna,
    Can you try doing a reinstall and run from pulse? The following are the steps –
    1. Download pulse from http://www.poweredbypulse.com.
    2. Open pulse explorer and select “Eclipse Galileo” in the top left corner.
    3. Your profile should be listed under MyProfiles. Slect it, right click on it and select “reinstall and run” from the context menu.
    Let me know if this works for you.

    #311325 Reply

    Aparna
    Member

    Hi Shalini,
    I downloaded pulse but I don’t see my profile listed under ‘MyProfiles’ like you said. Please let me know what the next steps are in getting this to work, cannot do any merges because of this. Any help is greatly appreciated!

    Thanks,
    -Aparna

    #311348 Reply

    Aparna,
    Can you clarify if you have selected “Eclipse Galileo” under realms? Can you send us a screen shot of your pulse explorer? You can use the PM button at the end of the post
    to send the screen shot.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: CVS History crashes with NullPointerException on Blue

You must be logged in to post in the forum log in