Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Android Studio 1.1 exception while translating anything #15

Closed
xklakoux opened this issue Mar 4, 2015 · 4 comments
Closed

Android Studio 1.1 exception while translating anything #15

xklakoux opened this issue Mar 4, 2015 · 4 comments

Comments

@xklakoux
Copy link

xklakoux commented Mar 4, 2015

I'm using Android Studio 1.1.0
Build #AI-135.1740770, built on February 18, 2015 on OSX

When I try to translated anything I get following error.

Index: 49, Size: 49: Index: 49, Size: 49
java.lang.IndexOutOfBoundsException: Index: 49, Size: 49
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at data.task.GetTranslationTask.getTranslationEngineResult(GetTranslationTask.java:171)
    at data.task.GetTranslationTask.run(GetTranslationTask.java:96)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
    at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)

Thanks for taking a look!

@westlinkin
Copy link
Owner

Can you provide your strings.xml file?

@westlinkin
Copy link
Owner

There is nothing in the link you gave me.

@xklakoux
Copy link
Author

Sorry. Try this http://pastebin.com/n7P70ZdQ

@westlinkin
Copy link
Owner

Got it, will fix it within 24-36 hours.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants