cancel
Showing results for 
Search instead for 
Did you mean: 

Problem setting DTR permissions

Former Member
0 Kudos

Hi,

I tried to set permissions in DTR. When defining the permission at root level (http:///dtr/) with the eclipse plugin the permission editor opens.

I then grant all permissions to JDI.Administrators. When I click at the OK button nothing happens. I can click CANCEL and the dialog disappears, but the permissions are not visible in the permissions view.

The eclipse log file encloses the following error message:

java.lang.NullPointerException

at com.tssap.dtr.client.lib.acl.impl.ACL.assureFileNotCheckedOutByOthers(ACL.java:317)

at com.tssap.dtr.client.lib.acl.impl.ACL.attachToActivity(ACL.java:327)

at com.tssap.dtr.client.lib.acl.impl.ACL.checkOut(ACL.java:342)

at com.tssap.dtr.client.lib.acl.impl.ACL.access$500(ACL.java:44)

at com.tssap.dtr.client.lib.acl.impl.ACL$New.modify(ACL.java:130)

at com.tssap.dtr.client.lib.acl.impl.ACL.modify(ACL.java:507)

at com.tssap.dtr.client.lib.acl.impl.ACL.createACE(ACL.java:617)

at com.tssap.dtr.client.eclipse.admin.ui.EditAceDialog$10.run(EditAceDialog.java:367)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.dtr.client.eclipse.admin.ui.EditAceDialog.buttonPressed(EditAceDialog.java:363)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.tssap.dtr.client.eclipse.admin.ui.PermissionViewer$22.run(PermissionViewer.java:643)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.dtr.client.eclipse.admin.ui.PermissionViewer.handleCreateAce(PermissionViewer.java:641)

at com.tssap.dtr.client.eclipse.admin.ui.PermissionViewer.access$1800(PermissionViewer.java:105)

at com.tssap.dtr.client.eclipse.admin.ui.PermissionViewer$10.run(PermissionViewer.java:539)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:789)

at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

How can I check if the file is checked out by another user and more interesting which file does the error message mean?

The next question: How can I then unlock the file?

I´m using:

Web AS 640 SP9

Any help is welcome

Helmut

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Check this URL

http://help.sap.com/saphelp_erp2004/helpdata/en/2a/7ad77715ab0e49a80f1bc4f1f43356/frameset.htm

Administration of SAP NetWeaver Java Development Infrastructure,User Authentication and User Authorization in the DTR,Privileges

Hope this helps you

Regards,

RK

htammen
Active Contributor
0 Kudos

Hi,

I´ve already had a look at help.sap.com and I also do have the documentation "DTR Authentication and Authorization".

In the meantime I was successful at a SP11 NWDI but at SP9 it is still not working correctly. After restarting the SP9 server I was partly successful (I had to press the OK button of the assignment wizard twice and then the cancel button. After I´ve clicked at the column header of the permissions view the permissions were visible). Unfortunatly I didn´t activate my rights assignments and now I can´t reproduce the successful state.

Seems to be a bug. Does anyone have the same problem or a workaround?

Regards

Helmut