My IDE keeps crashing after placing a new theme folder

i decided to add a new theme for my arduino IDE so after i applied the theme i closed my IDE and i tried opening it again but it just crashed it would reach starting... and then would crash im on mac btw

Hello my friend
If you can't solve the problem
You can reinstall it

sure but before i do that i need to know if theres a way to apply the theme without it crashing

If you start the IDE from the command prompt. you might get some additional information what is wrong.

No idea about themes. I would put the backup of whatever you did edit back in place and retry.

java.lang.NullPointerException
	at processing.app.Theme.getStyledFont(Theme.java:519)
	at processing.app.syntax.SketchTextArea.setSyntaxTheme(SketchTextArea.java:153)
	at processing.app.syntax.SketchTextArea.setTheme(SketchTextArea.java:135)
	at processing.app.syntax.SketchTextArea.installFeatures(SketchTextArea.java:96)
	at processing.app.syntax.SketchTextArea.<init>(SketchTextArea.java:86)
	at processing.app.EditorTab.createTextArea(EditorTab.java:147)
	at processing.app.EditorTab.<init>(EditorTab.java:107)
	at processing.app.Editor.addTab(Editor.java:1543)
	at processing.app.Editor.createTabs(Editor.java:1516)
	at processing.app.Editor.handleOpenInternal(Editor.java:1824)
	at processing.app.Editor.<init>(Editor.java:376)
	at processing.app.Base.handleOpen(Base.java:888)
	at processing.app.Base.handleOpen(Base.java:874)
	at processing.app.Base.handleOpen(Base.java:870)
	at processing.app.Base.handleNew(Base.java:809)
	at processing.app.Base.<init>(Base.java:497)
	at processing.app.Base.main(Base.java:150)

i got this error when i opened through the terminal

I suspect that you have a corrupt file which results in something not being set in the IDE code; that is probably a font. If you can tell me which file you've changed and post the changed file, I can have a look when I have time.

Else, as said, put your backup of that file back and start over.


heres my theme folder

Please post the content of the theme folder as a text (use dir if that exists an a Mac or ls -l from a command line / shell); redirect the output of the command to a file (e.g. listing.txt) will make it easier.

Please post /attach your theme.txt and I will compare it to the original that is on my Windows system (I don't have a Mac); I might (!!) be able to find something.

Do you still have the original? If yes, put it back. I've attached the one I have just in case; quite sure that it should work.

theme.zip (1.4 KB)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.