[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: NPE

From: Martin Letenay <mle_at_whitestein.com>
Date: 2005-09-04 02:46:57 CEST

Eric,
 
unfortunatelly, I'm not able to reproduce this problem in my workspace.
I guess it has something to do with linked or external resources.
 
However it would be very helpful if you could try to get this bug with the
trunk (r1600) version.
(I'm raising an exception with some debug info now, so we can finally trace
the source of the problem).
 
For your convenience I've created a special trunk build of the core plugin.
You can get it from tigris.org's Documents & files:
http://subclipse.tigris.org/files/documents/906/25306/org.tigris.subversion.
subclipse.core.r1600.zip
 
Just replace the org.tigris.subversion.subclipse.core_0.9.33 folder in your
eclipse/plugins with the contents of that zip file.
(Backup the real 0.9.33 folder first of course ...)
 
Regards,
Martin
 

  _____

From: Eric Mickelson [mailto:eric.mickelson@marketlive.com]
Sent: 03 September 2005 02:28
To: users@subclipse.tigris.org
Subject: NPE

I'm getting many subclipse NullPointerException messages in the error log.
This happens during many different tasks, such as compile, debug, show log,
etc.

 

Eclipse v3.1

MyEclipse v4.0

SpringIDE v1.2.3

Subclipse v0.9.33

 

Any ideas?

 

 

java.lang.NullPointerException

            at
org.eclipse.core.internal.resources.Workspace.getResourceInfo(Workspace.java
:1127)

            at
org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.getResourceT
ype(SVNWorkspaceRoot.java:348)

            at
org.tigris.subversion.subclipse.core.resources.ResourceStatus.getResource(Re
sourceStatus.java:405)

            at
org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache.addSta
tus(SynchronizerSyncInfoCache.java:54)

            at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.updateCache(S
tatusCacheManager.java:118)

            at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.updateCache(S
tatusCacheManager.java:95)

            at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.refreshStatus
(StatusCacheManager.java:235)

            at
org.tigris.subversion.subclipse.core.resourcesListeners.FileModificationMana
ger.refreshStatus(FileModificationManager.java:142)

            at
org.tigris.subversion.subclipse.core.resourcesListeners.FileModificationMana
ger.resourceChanged(FileModificationManager.java:110)

            at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManag
er.java:276)

            at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:1044)

            at org.eclipse.core.runtime.Platform.run(Platform.java:783)

            at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationMana
ger.java:270)

            at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(Notifi
cationManager.java:144)

            at
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.
java:180)

            at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:91
4)

            at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1728)

            at
org.eclipse.debug.core.model.Breakpoint.setAttribute(Breakpoint.java:190)

            at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.incrementInst
allCount(JavaBreakpoint.java:733)

            at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.registerReque
st(JavaBreakpoint.java:197)

            at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequest
(JavaBreakpoint.java:409)

            at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequest
s(JavaBreakpoint.java:535)

            at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(J
avaBreakpoint.java:497)

            at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDI
DebugTarget.java:1099)

            at
org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.notifyTarget(JavaD
ebugOptionsManager.java:269)

            at
org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.handleDebugEvents(
JavaDebugOptionsManager.java:482)

            at
org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1081)

            at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:1044)

            at org.eclipse.core.runtime.Platform.run(Platform.java:783)

            at
org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1
113)

            at
org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:343
)

            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

 

Eric

 
Received on Sun Sep 4 10:46:57 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.