# Opening Kotlin Standard Library in IntelliJ 13 CE

**URL:** <https://discuss.kotlinlang.org/t/opening-kotlin-standard-library-in-intellij-13-ce/694>\
**Category:** Uncategorized\
**Created:** [December 2, 2013, 3:35am UTC](https://discuss.kotlinlang.org/t/opening-kotlin-standard-library-in-intellij-13-ce/694 "2013-12-02T03:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![acolombi](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@acolombi](https://discuss.kotlinlang.org/u/acolombi)\
**Post date:** [December 2, 2013, 3:35am UTC](https://discuss.kotlinlang.org/t/opening-kotlin-standard-library-in-intellij-13-ce/694/1 "2013-12-02T03:35:24Z")

</div>

Hey guys,

I want to make some simple contributions to the standard library project. However, I’m encountering is a few compile errors when opening the standard library project in IntelliJ.&nbsp;&nbsp;Here’s my setup:

```kotlin
IntelliJ 13, v 133.162,
Kotlin Plugin, 0.6.1561
```

Here is the error I'm getting,

```kotlin
StringsJVM.kt, line 150
    Kotlin: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type java.nio.charset.Charset?
```

and that error is repeated 4 other times in different parts of the source.&nbsp;&nbsp;This error makes me think something might be amiss with KAnnotator setup: Maybe Charset isn't properly annotated?&nbsp;&nbsp;Or maybe I'm not loading the annotation XML files properly?&nbsp;&nbsp;Or maybe this is just an error in the library that no one else has noticed? (seems unlikely)

My inexperience with Kotlin and IntelliJ (and pretty much all the build infrastucture (Gradle, maven etcc…)) in hindering my ability to debug…

thoughts?  
-Andrew

---

<div class="post-metadata">

**Author:** ![abreslav](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/abreslav/32/8279_2.png) [@abreslav](https://discuss.kotlinlang.org/u/abreslav)\
**Post date:** [December 2, 2013, 8:54am UTC](https://discuss.kotlinlang.org/t/opening-kotlin-standard-library-in-intellij-13-ce/694/2 "2013-12-02T08:54:40Z")

</div>

Looks like you don't have external annotations configured for your JDK. Could you have a look under Project Structure/SDKs?

---

<div class="post-metadata">

**Author:** ![acolombi](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@acolombi](https://discuss.kotlinlang.org/u/acolombi)\
**Post date:** [December 2, 2013, 1:45pm UTC](https://discuss.kotlinlang.org/t/opening-kotlin-standard-library-in-intellij-13-ce/694/3 "2013-12-02T13:45:00Z")

</div>

Indeed!&nbsp;&nbsp;The problem, I believe, is that I had the annotations from IntelliJ 12 loaded.&nbsp;&nbsp;I removed those annotations and then added the latest from IntelliJ 13; now the only compile errors are of my own invention ;-)
