Skip to content

Arduino IDE will not open on Linux Ubuntu 18.04 #7970

Closed
@hellocaio

Description

@hellocaio

Suddently Arduino IDE 1.8.6 will not start. I've been working on it without problems for days until now. I added WiFiManager library into my libraries using the Library Manager, then I tried to compile it but it threw an error saying "Can't find <WifiManager.h>" even thought I just had added it. Then I closed the IDE to restart it but I haven't been able to open it again. The spash screen shows and it closes right after showing "Preparing boards...".

Here is the error that I get:

:~/arduino-1.8.6$ ./arduino
Picked up JAVA_TOOL_OPTIONS: 
Error parsing library.index:Unexpected end-of-input: expected close marker for Object (start marker at [Source: (FileInputStream); line: 45890, column: 5])
 at [Source: (FileInputStream); line: 45901, column: 5664]
 at [Source: (FileInputStream); line: 45901, column: 7] (through reference chain: com.fasterxml.jackson.module.mrbean.generated.cc.arduino.contributions.libraries.LibrariesIndex["libraries"]->java.util.ArrayList[2164])
java.lang.NullPointerException
	at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:140)
	at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:109)
	at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:677)
	at processing.app.Base.onBoardOrPortChange(Base.java:1313)
	at processing.app.Base$12.actionPerformed(Base.java:1540)
	at processing.app.Base.filterVisibilityOfSubsequentBoardMenus(Base.java:1579)
	at processing.app.Base.access$000(Base.java:83)
	at processing.app.Base$11.actionPerformed(Base.java:1512)
	at processing.app.Base.rebuildBoardsMenu(Base.java:1490)
	at processing.app.Base.<init>(Base.java:267)
	at processing.app.Base.main(Base.java:145)

I tried removing and installing the Arduino IDE multiple times and rebooting the system. Any more ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions