# My code is not running - i need help (it's in German) SOLVED

**URL:** <https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904>\
**Category:** Coding Questions\
**Created:** [September 21, 2022, 10:11am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904 "2022-09-21T10:11:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherry](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@cherry](https://discourse.processing.org/u/cherry)\
**Post date:** [September 21, 2022, 10:11am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904/1 "2022-09-21T10:11:42Z")

</div>

\<double celsius, fahreinheit;

void fahreinheitt(){  
fahreinheit = (celsius\*1.8)+32;  
String fa = getTextFromConsole("Bitte geben Sie eine Zahl ein: ");  
double fahreinheit = Double.parseDouble(fa);  
println(“Temparatur in Fahreinheit”+fahreinheit);  
}

void celsiuss(){  
celsius = (fahreinheit-32)/1.8;  
String ce = getTextFromConsole("Bitte geben Sie eine Zahl ein: ");  
double celsius = Double.parseDouble(ce);  
println(“Temparatur in Celsius” +celsius);  
}  
void keyPressed(){  
performAKeyInput(keyCode,key);  
}  
void setup(){  
fahreinheitt();ss  
celsiuss();  
} \>

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [September 21, 2022, 10:17am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904/2 "2022-09-21T10:17:13Z")

</div>

Hi @cherry,

Welcome to the forum! 😉

Can you please format your code by using the `</>` button when editing a message or use ``` around your code ```.

If it’s not running, what is the output in the console? Does the Processing editor tells you where the error is?

---

<div class="post-metadata">

**Author:** ![cherry](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@cherry](https://discourse.processing.org/u/cherry)\
**Post date:** [September 21, 2022, 10:58am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904/4 "2022-09-21T10:58:27Z")

</div>

thank you! i’ll do it next time, or can i edit the text afterwards? the error is empty but i have the error message NullPointerException in my console

---

<div class="post-metadata">

**Author:** ![cherry](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@cherry](https://discourse.processing.org/u/cherry)\
**Post date:** [September 21, 2022, 10:59am UTC](https://discourse.processing.org/t/my-code-is-not-running-i-need-help-its-in-german-solved/38904/5 "2022-09-21T10:59:48Z")

</div>

thank you very much! this solved my problem 🙂 & im also using processing 3.
