java.lang.StringIndexOutOfBoundsException: String index out of range: 0

YouTrack | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Unable to save settings

    YouTrack | 9 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    PyCharm - Unable to save settings - Failed to save settings. Please restart PyCharm Community Edition

    Stack Overflow | 12 months ago | ramsey0
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    Save settings failed

    YouTrack | 1 year ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to save settings: Failed to save settings. Please restart PyCharm

    GitHub | 4 months ago | RomHartmann
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0
    samebug tip
    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

  1. poroszd 11 times, last 2 weeks ago
  2. olle.hallin 1 times, last 3 weeks ago
  3. linxiaolong 1 times, last 3 months ago
  4. jokester 1 times, last 3 months ago
  5. tyson925 1 times, last 4 months ago
12 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. com.intellij.configurationStore
    ComponentStoreImpl.save
    1. com.intellij.configurationStore.ApplicationStorageManager.expandMacros(ApplicationStoreImpl.kt:108)
    2. com.intellij.configurationStore.StateStorageManagerImpl.createStateStorage(StateStorageManagerImpl.kt:194)
    3. com.intellij.configurationStore.StateStorageManagerImpl.getOrCreateStorage(StateStorageManagerImpl.kt:150)
    4. com.intellij.configurationStore.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.kt:133)
    5. com.intellij.configurationStore.StateStorageManagerImpl$startExternalization$1.setState(StateStorageManagerImpl.kt:342)
    6. com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:199)
    7. com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:124)
    7 frames
  4. IDEA
    FrameStateManagerImpl$2$1.run
    1. com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:49)
    2. com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1433)
    3. com.intellij.ide.SaveAndSyncHandlerImpl.doSaveDocumentsAndProjectsAndApp(SaveAndSyncHandlerImpl.java:150)
    4. com.intellij.ide.SaveAndSyncHandlerImpl.saveProjectsAndDocuments(SaveAndSyncHandlerImpl.java:134)
    5. com.intellij.ide.SaveAndSyncHandlerImpl$4.onFrameDeactivated(SaveAndSyncHandlerImpl.java:104)
    6. com.intellij.ide.FrameStateManagerImpl.b(FrameStateManagerImpl.java:87)
    7. com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:32)
    8. com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
    8 frames
  5. Openapi
    QueueProcessor.runSafely
    1. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
    1 frame
  6. IDEA
    LaterInvocator$FlushQueue.run
    1. com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
    2. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:337)
    3. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
    3 frames
  7. Java RT
    EventQueue.dispatchEvent
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    3. java.awt.EventQueue.access$500(EventQueue.java:97)
    4. java.awt.EventQueue$3.run(EventQueue.java:709)
    5. java.awt.EventQueue$3.run(EventQueue.java:703)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    8 frames
  8. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:866)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
    3 frames
  9. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    6 frames