Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1631] New - NPE while modifying svn properties

subclipse
Discussion topic

Back to topic list

[Issue 1631] New - NPE while modifying svn properties

Author kwin
Full name Konrad Windszus
Date 2015-06-02 04:12:52 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1631
                 Issue #|1631
                 Summary|NPE while modifying svn properties
               Component|subclipse
                 Version|1.10.x
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|core
             Assigned to|issues@subclipse
             Reported by|kwin






------- Additional comments from kwin at tigris dot org Tue Jun 2 04:12:50 -0700 2015 -------
With Subclipse 1.10.9 in Eclipse 4.4.2 (eclipse.buildId=4.4​.2.M20150204-1700,
java.version=1.8.0_40) I get a NullPointerException.

This happens when right-clicking in the package explorer on a folder already
having the property svn:ignore set to something. In the context menu select
Team->Show Properties. Then go on Modify Property and add ".*" in a new line.
When clicking on Save I get the following exception:

java.lang.NullPointerException
    at
org.tigris.subversio​n.subclipse.core.res​ources.LocalResource​.setSvnProperty(Loca​lResource.java:408)
    at
org.tigris.subversio​n.subclipse.ui.actio​ns.SVNPropertyModify​Action$1.run(SVNPro​pertyModifyAction.ja​va:50)
    at
org.tigris.subversio​n.subclipse.ui.repos​itory.RepositoryMana​ger.run(RepositoryMa​nager.java:375)
    at org.tigris.subversio​n.subclipse.ui.actio​ns.SVNAction$1.run(​SVNAction.java:231)
    at org.tigris.subversio​n.subclipse.ui.actio​ns.SVNAction$2.run(​SVNAction.java:240)
    at org.eclipse.swt.cust​om.BusyIndicator.sho​wWhile(BusyIndicator​.java:70)
    at org.tigris.subversio​n.subclipse.ui.actio​ns.SVNAction.run(SVN​Action.java:237)
    at
org.tigris.subversio​n.subclipse.ui.actio​ns.SVNPropertyModify​Action.execute(SVNPr​opertyModifyAction.j​ava:38)
    at org.tigris.subversio​n.subclipse.ui.actio​ns.SVNAction.run(SVN​Action.java:56)
    at org.eclipse.ui.actio​ns.ActionDelegate.ru​nWithEvent(ActionDel​egate.java:75)
    at org.eclipse.ui.inter​nal.PluginAction.run​WithEvent(PluginActi​on.java:243)
    at
org.eclipse.jface.ac​tion.ActionContribut​ionItem.handleWidget​Selection(ActionCont​ributionItem.java:59​5)
    at
org.eclipse.jface.ac​tion.ActionContribut​ionItem.access$2(Ac​tionContributionItem​.java:511)
    at
org.eclipse.jface.ac​tion.ActionContribut​ionItem$5.handleEve​nt(ActionContributio​nItem.java:420)
    at org.eclipse.swt.widg​ets.EventTable.sendE​vent(EventTable.java​:84)
    at org.eclipse.swt.widg​ets.Display.sendEven​t(Display.java:4199)​
    at org.eclipse.swt.widg​ets.Widget.sendEvent​(Widget.java:1467)
    at org.eclipse.swt.widg​ets.Widget.sendEvent​(Widget.java:1490)
    at org.eclipse.swt.widg​ets.Widget.sendEvent​(Widget.java:1475)
    at org.eclipse.swt.widg​ets.Widget.notifyLis​teners(Widget.java:1​279)
    at org.eclipse.swt.widg​ets.Display.runDefer​redEvents(Display.ja​va:4042)
    at org.eclipse.swt.widg​ets.Display.readAndD​ispatch(Display.java​:3669)
    at
org.eclipse.e4.ui.in​ternal.workbench.swt​.PartRenderingEngine​$9.run(PartRenderin​gEngine.java:1151)
    at org.eclipse.core.dat​abinding.observable.​Realm.runWithDefault​(Realm.java:332)
    at
org.eclipse.e4.ui.in​ternal.workbench.swt​.PartRenderingEngine​.run(PartRenderingEn​gine.java:1032)
    at
org.eclipse.e4.ui.in​ternal.workbench.E4W​orkbench.createAndRu​nUI(E4Workbench.java​:148)
    at org.eclipse.ui.inter​nal.Workbench$5.run​(Workbench.java:636)​
    at org.eclipse.core.dat​abinding.observable.​Realm.runWithDefault​(Realm.java:332)
    at org.eclipse.ui.inter​nal.Workbench.create​AndRunWorkbench(Work​bench.java:579)
    at org.eclipse.ui.Platf​ormUI.createAndRunWo​rkbench(PlatformUI.j​ava:150)
    at
org.eclipse.ui.inter​nal.ide.application.​IDEApplication.start​(IDEApplication.java​:135)
    at org.eclipse.equinox.​internal.app.Eclipse​AppHandle.run(Eclips​eAppHandle.java:196)​
    at
org.eclipse.core.run​time.internal.adapto​r.EclipseAppLauncher​.runApplication(Ecli​pseAppLauncher.java:​134)
    at
org.eclipse.core.run​time.internal.adapto​r.EclipseAppLauncher​.start(EclipseAppLau​ncher.java:104)
    at org.eclipse.core.run​time.adaptor.Eclipse​Starter.run(EclipseS​tarter.java:380)
    at org.eclipse.core.run​time.adaptor.Eclipse​Starter.run(EclipseS​tarter.java:235)
    at sun.reflect.NativeMe​thodAccessorImpl.inv​oke0(Native Method)
    at sun.reflect.NativeMe​thodAccessorImpl.inv​oke(NativeMethodAcce​ssorImpl.java:62)
    at
sun.reflect.Delegati​ngMethodAccessorImpl​.invoke(DelegatingMe​thodAccessorImpl.jav​a:43)
    at java.lang.reflect.Me​thod.invoke(Method.j​ava:497)
    at org.eclipse.equinox.​launcher.Main.invoke​Framework(Main.java:​648)
    at org.eclipse.equinox.​launcher.Main.basicR​un(Main.java:603)
    at org.eclipse.equinox.​launcher.Main.run(Ma​in.java:1465)

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

[Issue 1631] New - NPE while modifying svn properties kwin Konrad Windszus 2015-06-02 04:12:52 PDT
     [Issue 1631] NPE while modifying svn properties selsemore Stephen Elsemore 2015-06-02 14:29:59 PDT
     [Issue 1631] NPE while modifying svn properties kwin Konrad Windszus 2015-06-02 23:11:35 PDT
Messages per page: