[ 
https://issues.apache.org/jira/browse/CONNECTORS-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552841#comment-13552841
 ] 

Karl Wright commented on CONNECTORS-611:
----------------------------------------

Hi Ahmet,

Since the exchange in question doesn't generate an error, I still can't see 
what is going on.

I'm specifically looking for the actual response data from transactions like 
this:

{code}
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Content-Type: text/xml; 
charset=utf-8
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Accept: */*
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> SOAPAction: 
"http://microsoft.com/sharepoint/webpartpages/GetPermissionCollection";
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> User-Agent: Axis/1.4
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Content-Length: 444
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Host: iknowtest
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Connection: Keep-Alive
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Cookie: 
WSS_KeepSessionAuthenticated={e1312840-ac74-4fe9-b7f2-bbc55ea45b4b}
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Cookie2: $Version=1
DEBUG 2013-01-14 17:42:57,987 (Thread-2250) - >> Authorization: NTLM 
TlRMTVNTUAADAAAAGAAYAEgAAAD4APgAYAAAABgAGABYAQAAFgAWAHABAAASABIAhgEAABAAEACYAQAAFbKI4gUBKAoAAAAP637if+Ddvsidyflzu/xFVQKyQK/yxxItHVwxhzq06x2OpDBd/MmePAEBAAAAAAAAECOm023yzQECskCv8scSLQAAAAACABgARwBMAE8AQgBBAEwALQBCAEkATABHAEkAAQASAEcAQgBVAFMAUABQAFQAMAAxAAQAIgBnAGwAbwBiAGEAbAAtAGIAaQBsAGcAaQAuAGUAbgB0AHAAAwA2AEcAQgBVAFMAUABQAFQAMAAxAC4AZwBsAG8AYgBhAGwALQBiAGkAbABnAGkALgBlAG4AdABwAAUAIgBnAGwAbwBiAGEAbAAtAGIAaQBsAGcAaQAuAGUAbgB0AHAABwAIAECHotNt8s0BAAAAAAAAAABHAEwATwBCAEEATAAtAEIASQBMAEcASQBHAEwAQgA5ADAAMAAyADIAOAA3ADYARwBCAFUATQBPAEEAUAAwADEAeRFKSOyoSvAt7/ZqFSYv+g==
...
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << HTTP/1.1 200 OK
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Cache-Control: private, 
max-age=0
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Content-Type: text/xml; 
charset=utf-8
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Server: Microsoft-IIS/7.5
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << SPRequestGuid: 
30b3158a-f4e4-4947-9d64-a25643606f0e
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Set-Cookie: 
WSS_KeepSessionAuthenticated={e1312840-ac74-4fe9-b7f2-bbc55ea45b4b}; path=/
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << X-SharePointHealthScore: 1
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << X-AspNet-Version: 2.0.50727
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Persistent-Auth: true
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << X-UA-Compatible: IE=8
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Date: Mon, 14 Jan 2013 
15:42:59 GMT
DEBUG 2013-01-14 17:42:59,879 (Thread-2250) - << Content-Length: 2155
{code}

... and specifically, the data being returned for THE transaction that results 
in the NPE.  If you can think of any way to get that information, that would be 
great.

In the meanwhile, I'll look at the Axis-generated code to see how a null could 
result from this call.

                
> SharePoint connector throws NPE getting permissions in some cases
> -----------------------------------------------------------------
>
>                 Key: CONNECTORS-611
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-611
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: SharePoint connector
>    Affects Versions: ManifoldCF 1.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.1
>
>         Attachments: Archive.zip
>
>
> Here's the exception:
> {code}
> > FATAL 2013-01-14 17:13:46,871 (Worker thread '15') - Error tossed: null
> > java.lang.NullPointerException
> >         at 
> > org.apache.manifoldcf.crawler.connectors.sharepoint.SPSProxyHelper.getDocumentACLs(SPSProxyHelper.java:324)
> >         at 
> > org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointRepository.getDocumentVersions(SharePointRepository.java:929)
> >         at 
> > org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:321)
> >
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to