Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18741)

Issue 90690043: Handle null pointer exception in destroy for Adaptor when adaptor fails to initialize (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 12 months ago by Tanmay Vartak
Modified:
9 years, 12 months ago
Reviewers:
pjo
CC:
connector-cr_google.com
Visibility:
Public.

Description

Handle null pointer exception in destroy for Adaptor when adaptor fails to initialize https://code.google.com/p/plexi/source/detail?r=c493a543319e7ee0f9a1b4f1f87dfc49486859bd&repo=sharepoint

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -10 lines) Patch
M src/com/google/enterprise/adaptor/sharepoint/SharePointAdaptor.java View 1 chunk +14 lines, -10 lines 1 comment Download
M test/com/google/enterprise/adaptor/sharepoint/SharePointAdaptorTest.java View 1 chunk +7 lines, -0 lines 0 comments Download
M test/com/google/enterprise/adaptor/sharepoint/SharePointUserProfileAdaptorTest.java View 1 chunk +7 lines, -0 lines 1 comment Download

Messages

Total messages: 2
Tanmay Vartak
9 years, 12 months ago (2014-04-23 18:07:11 UTC) #1
pjo
9 years, 12 months ago (2014-04-23 20:00:01 UTC) #2
Thank you.  LGTM.

https://codereview.appspot.com/90690043/diff/1/src/com/google/enterprise/adap...
File src/com/google/enterprise/adaptor/sharepoint/SharePointAdaptor.java
(right):

https://codereview.appspot.com/90690043/diff/1/src/com/google/enterprise/adap...
src/com/google/enterprise/adaptor/sharepoint/SharePointAdaptor.java:541: private
void shutdownExecutor(ExecutorService executor) {
synchronized?

https://codereview.appspot.com/90690043/diff/1/test/com/google/enterprise/ada...
File
test/com/google/enterprise/adaptor/sharepoint/SharePointUserProfileAdaptorTest.java
(right):

https://codereview.appspot.com/90690043/diff/1/test/com/google/enterprise/ada...
test/com/google/enterprise/adaptor/sharepoint/SharePointUserProfileAdaptorTest.java:119:
assertNotNull(adaptor);
remove this assert not null?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b