!ENTRY org.eclipse.core.runtime 4 2 Nov 19, 2004
17:25:23.429
!MESSAGE An internal error occurred during: "Refreshing
state".
!STACK 0
java.lang.NoClassDefFoundError
at
net.sourceforge.eclipseccase.ui.actions.RefreshStateAction$1.run(RefreshStateAction.java:43)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at
net.sourceforge.eclipseccase.ui.ClearCaseOperation.run(ClearCaseOperation.java:105)
at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:159)
at
org.eclipse.team.internal.ui.actions.JobRunnableContext$3.runInWorkspace(JobRunnableContext.java:179)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
This is with Eclipse 3.0, cc plugin 1.0, on Unix
(snapshot view).
Logged In: YES
user_id=1164381
Anoying bug this one... :]
Logged In: YES
user_id=372260
Any details for the NoClassDefFoundError (eg. which class
was not found)? Usually this looks like a bad
configuration/installation or download. It's hard to do
anything without more detailed information.
Logged In: YES
user_id=377598
Well the message in the GUI just states there was an internal
error. The message with the stack trace is from the .log
file. Where else should I look?
I somehow hoped that the stack trace might give you a
clue, e.g. by looking at line 43 of RefreshStateAction.java
(I don't have the source handy).
Logged In: YES
user_id=372260
Roel,
This is due to your changes related to JNI caching. The
class ClearcaseJNI does not load on Unix. Can you provide a
patch for this and attach it to this bug report?
Thanks,
Gunnar
Logged In: YES
user_id=244476
Here is some more info on a similar error.. I am getting this
with Eclipse plugin for Win32..
java.lang.ClassNotFoundException:
net.sourceforge.eclipseccase.ui.actions.ActivatePluginAction
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:404)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.l
oadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:255)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClas
s(BundleLoader.java:307)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:336)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadCla
ss(AbstractBundle.java:1313)
at
org.eclipse.core.internal.registry.ConfigurationElement.createE
xecutableExtension(ConfigurationElement.java:131)
at
org.eclipse.core.internal.registry.ConfigurationElement.createE
xecutableExtension(ConfigurationElement.java:124)
at
org.eclipse.core.internal.registry.ConfigurationElement.createE
xecutableExtension(ConfigurationElement.java:113)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run
(WorkbenchPlugin.java:196)
at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:193)
at org.eclipse.ui.internal.PluginAction.createDelegate
(PluginAction.java:114)
at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:247)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent
(WWinPluginAction.java:206)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetS
election(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEvent
(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main
(Main.java:628)
Logged In: YES
user_id=1043809
Annoying bug this is. Please status?
Logged In: YES
user_id=1246676
This is severe enough to make me not use the plug in. Is
there any workaround? I can't checkout with Eclipse and
checkin with the file system if I can't get Eclipse to
accurately reflect the state. When will it be fixed?
Logged In: YES
user_id=372260
I'm sorry for this bug hanging around. It's related to JNI
caching so it should only occour on other systems than
windows.
If you are familar with building Eclipse plug-ins I suggest
trying a build from current HEAD and setting JNI caching to 0
(zero).
Logged In: YES
user_id=1246676
I found a workaround. I can disassociate from the project
and then re-associate and the proper files are shown as
checked out.
I would rather shoot myself in the head than work in Winblows!
Logged In: YES
user_id=372260
Roel committed changes in HEAD, which fixed this issue.
Logged In: YES
user_id=1246676
The "fix" has made the plugin stop working completely. I
installed the 1.0.1 version built 2005-03-30 05:34. I don't
get the ClassNotFound errors in the log anymore (or any
other messages) when I refresh but now the only active
option on the menu is "Refresh". It will never allow me to
checkout or prompt me to check out the file when I try to
change it.
Logged In: YES
user_id=372260
How large is your project? Which icons are shown on the
resources? Looks like the refresh is happening in the
background. Can you start testing with a small project first
(only onw/two files)?
Also, please give us more information abour your environment
(OS, architecture, ClearCase version, etc.).
Logged In: YES
user_id=1246676
The project is thousands of files. I can't test with a
smaller project because I do not have the authority to
create one.
No icons are shown on the resources. I know what they are
suppose to look like because I was getting the check marks
before the "fix".
I found some errors in the log that were dealing with the F5
refresh. It didn't like some files that apparently
clearcase created. I deleted those and now the F5 refresh
works. Now when I try the clearcase refresh, I get the
following in the log:
!ENTRY org.eclipse.core.runtime 4 2 Apr 05, 2005 10:35:46.520
!MESSAGE An internal error occurred during: "Refreshing state".
!STACK 0
java.lang.NullPointerException
at
net.sourceforge.eclipseccase.ui.actions.ClearcaseAction.getSelectedResources(ClearcaseAction.java:67)
at
net.sourceforge.eclipseccase.ui.actions.RefreshStateAction$1.run(RefreshStateAction.java:25)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at
net.sourceforge.eclipseccase.ui.ClearCaseOperation.run(ClearCaseOperation.java:105)
at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:159)
at
org.eclipse.team.internal.ui.actions.JobRunnableContext$3.runInWorkspace(JobRunnableContext.java:179)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
I am running Redhat Enterprise 3
> ct -version
ClearCase version 2002.05.00 (Wed Jan 30 13:23:18 EST 2002)
clearcase_p2002.05.00-6 (Wed Mar 27 11:56:04 EST 2002)
clearcase_p2002.05.00-7 (Thu May 23 14:09:41 EDT 2002)
clearcase_p2002.05.00-8 (Thu May 23 15:05:13 EDT 2002)
clearcase_p2002.05.00-9 (Fri Jul 12 06:43:18 EDT 2002)
clearcase_p2002.05.00-10 (Fri Jul 12 08:03:25 EDT 2002)
clearcase_p2002.05.00-12 (Wed Sep 11 11:15:54 EDT 2002)
clearcase_p2002.05.00-13 (Fri Sep 13 08:12:11 EDT 2002)
clearcase_p2002.05.00-15 (Tue Nov 12 10:47:50 EST 2002)
clearcase_p2002.05.00-16 (Tue Nov 12 08:33:27 EST 2002)
clearcase_p2002.05.00-17 (Mon Dec 30 09:43:19 EST 2002)
clearcase_p2002.05.00-18 (Fri Jan 24 08:00:05 EST 2003)
clearcase_p2002.05.00-19 (Fri Jan 24 14:15:33 EST 2003)
clearcase_p2002.05.00-21 (Mon Mar 17 16:12:44 EST 2003)
clearcase_p2002.05.00-22 (Fri Mar 21 11:02:06 EST 2003)
clearcase_p2002.05.00-23 (Fri May 23 07:50:42 EDT 2003)
clearcase_p2002.05.00-24 (Tue May 27 06:59:23 EDT 2003)
clearcase_p2002.05.00-26 (Wed Aug 06 15:35:04 EDT 2003)
clearcase_p2002.05.00-28 (Thu Sep 18 10:45:52 EDT 2003)
clearcase_p2002.05.00-30 (Wed Oct 29 08:58:21 EST 2003)
clearcase_p2002.05.00-31 (Wed Jan 07 11:13:28 EST 2004)
clearcase_p2002.05.00-32 (Thu Jan 08 15:21:13 EST 2004)
clearcase_p2002.05.00-33 (Mon Mar 29 08:24:05 EST 2004)
clearcase_p2002.05.00-34 (Mon Mar 29 07:29:21 EST 2004)
clearcase_p2002.05.00-35 (Fri Jun 04 13:38:13 EDT 2004)
clearcase_p2002.05.00-36 (Fri Jun 04 16:02:50 EDT 2004)
clearcase_p2002.05.00-37 (Tue Aug 31 16:55:34 EDT 2004)
clearcase_p2002.05.00-38 (Tue Aug 31 16:41:15 EDT 2004)
clearcase_p2002.05.00-39 (Thu Oct 28 19:46:12 EDT 2004)
cleartool 2002.05.00+ (Tue Jun 29
14:31:01 EDT 2004)
db_server 2002.05.00+ (Thu Oct 28
10:08:15 EDT 2004)
VOB database schema version: 53
> uname -a
2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 i686
i686 i386 GNU/Linux
If you want any more info from me, let me know