GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Staff
Posts: 135
Registered: ‎05-31-2016

IndexOutOfBoundsException when attempting to start GMSC

I was having a problem Getting Smartclient to start but I managed to figure out the problem so I thought it might be a good idea to post it here just in case it helps someone else.

 

 

Smartclient would let me enter my credentials then it would crash with this error.

 

30/09/2016 3:41:57 PM INFO: BOOTING --> LOGON    --> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.setStatus
30/09/2016 3:42:17 PM FINEST: [JAXB] JAXBContext created in 23383ms    --> [pool-3-thread-1] com.intergraph.web.viewer.map.style.SymbologyEncodingFactory.<init>
30/09/2016 3:42:23 PM INFO: Get user/password from user via dialog...    --> [javawsApplicationMain] com.intergraph.web.core.kernel.AuthorizationHandler.loginWithUserInput
30/09/2016 3:42:33 PM INFO: LOGON --> LOADPROJECT    --> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.setStatus
30/09/2016 3:42:33 PM INFO: Start loading project metadata    --> [javawsApplicationMain] com.intergraph.web.DefaultKernelHandler.loadProject
30/09/2016 3:43:11 PM INFO: End loading project metadata.    --> [javawsApplicationMain] com.intergraph.web.DefaultKernelHandler.loadProject
30/09/2016 3:43:11 PM SEVERE: null    --> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.launch
java.lang.IndexOutOfBoundsException
 at java.io.RandomAccessFile.readBytes(Native Method)
 at java.io.RandomAccessFile.read(Unknown Source)
 at javax.imageio.stream.FileImageInputStream.read(Unknown Source)
 at com.sun.imageio.plugins.common.SubImageInputStream.read(Unknown Source)
 at com.sun.imageio.plugins.common.InputStreamAdapter.read(Unknown Source)
 at java.io.SequenceInputStream.read(Unknown Source)
 at java.util.zip.InflaterInputStream.fill(Unknown Source)
 at java.util.zip.InflaterInputStream.read(Unknown Source)
 at java.io.BufferedInputStream.fill(Unknown Source)
 at java.io.BufferedInputStream.read(Unknown Source)
 at java.io.FilterInputStream.read(Unknown Source)
 at com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source)
 at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source)
 at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
 at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
 at javax.imageio.ImageIO.read(Unknown Source)
 at javax.imageio.ImageIO.read(Unknown Source)
 at com.intergraph.web.core.data.bookmark.BookmarkModel.read(BookmarkModel.java:340)
 at com.intergraph.web.core.data.bookmark.BookmarkModel.readAllLocalBookmarks(BookmarkModel.java:304)
 at com.intergraph.web.core.data.bookmark.BookmarkModel.reloadLocalBookmarks(BookmarkModel.java:231)
 at com.intergraph.web.core.data.bookmark.BookmarkModel.<init>(BookmarkModel.java:59)
 at com.intergraph.web.core.data.Project.create(Project.java:596)
 at com.intergraph.web.DefaultKernelHandler.loadProject(SmartClient.java:425)
 at com.intergraph.web.core.kernel.SmartClientKernel.launch(SmartClientKernel.java:178)
 at com.intergraph.web.core.kernel.SmartClientKernel.boot(SmartClientKernel.java:100)
 at com.intergraph.web.SmartClient.create(SmartClient.java:138)
 at com.intergraph.web.SmartClient.main(SmartClient.java:109)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.sun.javaws.Launcher.executeApplication(Unknown Source)
 at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
 at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
 at com.sun.javaws.Launcher.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

 

 

I managed to fix it by deleting the profiles in C:\Users\[USER NAME]\AppData\Roaming\Intergraph\SmartClient\profiles\GMSC

 

I am not sure how the profiles got corrupted, it may have been caused by a hard shutdown (power failure)  but it was probably something I did Smiley Happy

 

 

Regards,

Phil