ArcGIS for Portal 10.3.1 - Can't create a Map - Error

4361
10
12-15-2015 09:39 PM
AnjithaSenarath5
New Contributor II

I successfully Installed ArcGIS 10.3.1

It created site admin account successfully and when I try to create a map It gave me below error :

Invocation of RMI stub method failed: public abstract com.esri.gw.index.common.ReturnCode com.esri.gw.index.service.IndexService.updateDocument(java.lang.String,com.esri.gw.index.common.GwIndexDocument,com.esri.gw.index.common.IndexTerm,java.lang.String); nested exception is java.lang.NullPointerException

Invocation of RMI stub method failed: public abstract com.esri.gw.index.common.ReturnCode com.esri.gw.index.service.IndexService.updateDocument(java.lang.String,com.esri.gw.index.common.GwIndexDocument,com.esri.gw.index.common.IndexTerm,java.lang.String); nested exception is java.lang.NullPointerException

Someone can explain why is this and any solution please.

Here is portal log :

<Msg time="2015-12-15T15:12:36,371" type="WARNING" code="217064" source="Portal" process="10704" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">sg>

<Msg time="2015-12-16T09:21:33,686" type="INFO" code="205005" source="Portal Admin" process="11220" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">Testing connection to user store.</Msg>

<Msg time="2015-12-16T09:21:33,708" type="INFO" code="205009" source="Portal Admin" process="11220" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">Identity store updated.</Msg>

<Msg time="2015-12-16T09:21:33,710" type="INFO" code="205006" source="Portal Admin" process="11220" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">Testing connection to role store.</Msg>

<Msg time="2015-12-16T09:21:33,716" type="INFO" code="205009" source="Portal Admin" process="11220" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">Identity stoThe web server was found to be stopped. Re-starting it.</Mre updated.</Msg>

<Msg time="2015-12-16T09:23:21,40" type="WARNING" code="217064" source="Portal" process="10704" thread="1" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed="">The web server was found to be stopped. Re-starting it.</Msg>

<Msg time="2015-12-16T09:25:01,295" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:25:15,157" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:25:22,288" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:25:32,678" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:25:39,108" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:25:39,110" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:26:45,924" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:01,916" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:03,148" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:20,635" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:37,883" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:44,25" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:27:54,145" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:28:00,549" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:28:12,844" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:29:25,720" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 98371d501b8745e389268afb7ed4ba0a</Msg>

<Msg time="2015-12-16T09:29:32,31" type="SEVERE" code="219999" source="Sharing" process="9028" thread="13" methodName="" machine="DHQAPP51.DOTI.AE" user="" elapsed=""> Unable to get item: 1b43c6ebdf5b47178a510d7d85d19208</Msg>

0 Kudos
10 Replies
AnjithaSenarath5
New Contributor II

I still has this error. No one to help here.. ESRI Customer service is not responding also on this request. Does it hit the jack pot of error in ArcGIS portal 10.3.1 ? Is this the reason they are releasing Portal for ArcGIS 10.4 ?

0 Kudos
RandallWilliams
Esri Regular Contributor

10.4 is a scheduled release. While installing it may help, the issue you're encountering isn't something that 10.4 is specifically designed to address. I've never personally encountered issues like those you describe.

Questions:

Was this an upgrade from a previous version of Portal for ArcGIS?

Can you configure logs to run in debug or verbose mode and provide a snippet of any errors you see?

Can you go into Portaladmin>index and successfully reindex the portal?

If you can't reindex, that may speak to the issue and we should be able to provide other suggestions.

AnjithaSenarath5
New Contributor II

Thanks Randall

"Was this an upgrade from a previous version of Portal for ArcGIS?"

I have upgraded Portal 10.3 to  portal 10.3.1 as ESRI instructed. Everything went smoothly but I cant create maps now. I did re-indexing the database as ESRI instructed then I could access my old maps... But can't create new ones...

"Can you configure logs to run in debug or verbose mode and provide a snippet of any errors you see?"

I will do this step and see

"Can you go into Portaladmin>index and successfully reindex the portal?"

Done this process as described above " One of the biggest issue after this process I can't access User Groups and Portal Home page Map thumbnails gallery has disappeared. 

0 Kudos
AaronDorsey1
New Contributor III

Did you ever find a solution?

0 Kudos
AnjithaSenarath5
New Contributor II

NO

We have abandon ArcGIS for Portal 10.3.1 project so far as no help from ESRI- Customer service.

If you have ArcGIS portal 10.3 then don't Upgrade to ArcGIS portal 10.3.1. It will be nightmare to fix errors

Best way is delete completely and re-install. You will loose all your data but it is better than millions of bugs.

After few indexing I can create Map but with an error. Please see screen shot. I still couldn't enable Map Thumbnails as it keep debugging. Really disappointing with this product from ESRIPortal_1031_MAP_create_Error.jpg

0 Kudos
RandallWilliams
Esri Regular Contributor

Given this error, I'd try to re-create the index rather than just re-running the index operation.

Please try the following steps:

1. Stop the portal service

2. Rename your index folder (ex: C:\arcgisportal\index)

3. Unzip empty_index.zip at ArcGIS\Portal\framework\template folder to your index folder

4. Start the portal service, and then rebuild full indexes with portal admin API

deleted-user-4ympgHKYfQv_
New Contributor II

Hi Randall,

need to do what you've written above. But after that I cannot login. Here's what I did.

1. Stop the portal service

2. Rename my index folder to index_old

3. Created a new \index

4. Unzip empty_index.zip at ArcGIS\Portal\framework\template folder to my new index folder which now contains three subfolder ago-users, ago-groups, ago-items (different folder structure than the "old" folder.

5. Start the portal service, and then rebuild full indexes with portal admin API

6. Portal starts again but cannot login. Probably because user is not found in index-DB.

Please, what can I do?

RandallWilliams
Esri Regular Contributor

The status of the index shouldn't prevent you from logging into the Portal. What to the logs offer? default c:\arcgisportal\logs

0 Kudos
deleted-user-4ympgHKYfQv_
New Contributor II

I found out the steps described above are for ArcGIS Enterprise up to 10.3.1 or something, or at least until elastic search has been implemented. Maybe that's why the content of the "original" index folder is different than the empty_index folder. 

My Portal shows various messages mentioning the index:

Failed to update user 'xxx_portal'. Error: The index service seems to be unavaliable. Please check the index service.

Unable to assign a license for 'admin'. Error: The index service seems to be unavaliable. Please check the index service. Application : Insights for ArcGIS.

Failed to delete user 'xxx_portal'. Error: The index service seems to be unavaliable. Please check the index service.‍‍‍‍‍‍‍‍‍‍

Any idea?

Thanks

Carsten

edit: I'm using the old index folder to log-in to portal and trying to delete user or assign licence etc.

0 Kudos