# \[Bug\] Embedded browser fails to correctly start on b2019030502

**URL:** <https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [March 5, 2019, 2:03pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065 "2019-03-05T14:03:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe.friedrich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe.friedrich/32/7505_2.png) [@joe.friedrich](https://forum.inductiveautomation.com/u/joe.friedrich)\
**Post date:** [March 5, 2019, 2:03pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/1 "2019-03-05T14:03:42Z")

</div>

The Designer Launcher sat at this screen for a minute or two before loading a project.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/baa8afe01161a4717307a53eb0793144205f774b.png)

Opened another Designer window and it did the same thing.

* * *

Oh, this might be why…

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/ff279253c6ceac75460a2a8d645c2d88e949a49e.png)

Version: **8.0.0-beta0 (b2019030502)**

[Begin Error Logs]

09:18:41.788 [Designer-Startup] INFO Perspective.Designer - Starting up Perspective module. Mode: Activated  
09:18:41 SEVERE: [0305/091841.803:ERROR:connection.cc(1862)] History sqlite error 5, errno 33: database is locked, sql: COMMIT  
09:18:41 SEVERE: [0305/091841.808:ERROR:connection.cc(1862)] Passwords sqlite error 5, errno 33: database is locked, sql: PRAGMA auto\_vacuum  
09:18:41 SEVERE: [0305/091841.812:ERROR:connection.cc(1862)] Passwords sqlite error 5, errno 33: database is locked, sql: PRAGMA journal\_mode = TRUNCATE  
09:18:41 SEVERE: [0305/091841.823:FATAL:material\_design\_controller.cc(169)] Check failed: is\_mode\_initialized\_.  
09:20:41.811 [Designer-Startup] ERROR designer.JXBrowserUtil - Failed to initialize JxBrowser  
com.teamdev.jxbrowser.chromium.BrowserException: Failed to initialize or establish a connection with a Chromium render process. You are observing this exception as the render process didn’t respond within 120 seconds after the Browser constructor has been invoked.  
at com.teamdev.jxbrowser.chromium.Browser.(SourceFile:3684)  
at com.teamdev.jxbrowser.chromium.Browser.(SourceFile:352)  
at com.inductiveautomation.ignition.designer.JXBrowserUtil.initialize(JXBrowserUtil.java:84)  
at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:220)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:1769)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1076)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$loadProject$8(IgnitionDesigner.java:906)  
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)  
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)  
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)  
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)  
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)  
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)  
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)  
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)  
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:905)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:1833)  
at java.base/java.lang.Thread.run(Unknown Source)  
09:20:41.906 [Designer-Startup] INFO Perspective.ViewWorkspace - Initializing JxBrowser Context with disk cache.

* * *

Reverting to previous nightly.  
Cannot guinea pig until Friday at the earliest.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [March 5, 2019, 2:54pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/2 "2019-03-05T14:54:11Z")

</div>

I am having this exact same problem with yesterday’s daily. It’s also hanging when I try to import a project.

My station is Windows 10.

---

<div class="post-metadata">

**Author:** ![joe.friedrich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe.friedrich/32/7505_2.png) [@joe.friedrich](https://forum.inductiveautomation.com/u/joe.friedrich)\
**Post date:** [March 5, 2019, 3:29pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/3 "2019-03-05T15:29:08Z")

</div>

Reverted to Version: **8.0.0-beta0 (b2019030402)**  
Everything seems fine (did not have to install a backup), except for this one weird thing:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e78b5346fc800a49f93acd063c4c07439eccf7a1.png)

…I don’t have Chromium installed, so I think this is part of Ignition.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 5, 2019, 3:45pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/4 "2019-03-05T15:45:49Z")

</div>

This could be due to the upgrade to jxBrowser which went in last night. We’ll look into it.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 5, 2019, 4:06pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/5 "2019-03-05T16:06:33Z")

</div>

jxBrowser is Chromium. It could be an artifact of the upgrade modifying the jxBrowser to a newer version which modified the versioning of the profile.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 5, 2019, 6:29pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/6 "2019-03-05T18:29:06Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/03613e314a9f8370c65e986202ad7e10c6bdd498.png)

Version: **8.0.0-beta0 (b2019030502)**

I’m not sure what logs it wants me to look at, but I’m not seeing anything in the wrapper logs nor the gateway logs. Not sure if I need to adjust filters to see what error it is giving.

In the console, I see the following messages:  
13:17:31.158 [Designer-Startup] INFO Perspective.Designer - Starting up Perspective module. Mode: Activated  
01:17:31 SEVERE: [0305/131731.172:ERROR:connection.cc(1862)] History sqlite error 5, errno 33: database is locked, sql: COMMIT  
01:17:31 SEVERE: [0305/131731.174:ERROR:connection.cc(1862)] Passwords sqlite error 5, errno 33: database is locked, sql: PRAGMA auto\_vacuum  
01:17:31 SEVERE: [0305/131731.178:ERROR:connection.cc(1862)] Passwords sqlite error 5, errno 33: database is locked, sql: PRAGMA journal\_mode = TRUNCATE  
01:17:31 SEVERE: [0305/131731.207:FATAL:material\_design\_controller.cc(169)] Check failed: is\_mode\_initialized\_.  
13:19:31.185 [Designer-Startup] ERROR designer.JXBrowserUtil - Failed to initialize JxBrowser

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 5, 2019, 6:41pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/7 "2019-03-05T18:41:07Z")

</div>

@grietveld I moved your post here as its the same issue. We’re actively working on it this morning.

---

<div class="post-metadata">

**Author:** ![jayce.oxton](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jayce.oxton](https://forum.inductiveautomation.com/u/jayce.oxton)\
**Post date:** [March 5, 2019, 7:30pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/8 "2019-03-05T19:30:19Z")

</div>

I installed the latest nightly build to resolve an issue with our Perspective project. I then restored our gateway backup from before we started having issues with our project. This seemed to resolve the issue until a few hours later. When trying to open our views in the designer I get the error show in the image below.

 ![Error%20Message](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/73a28f07014ec9eca8007537813bc8ab0f5f0f7a.jpeg)

I looked at the designer logs and I see the following error message:

Message: Failed to initialize JxBrowser  
Time: Tue Mar 5 12:47:01PM  
Severity: ERROR  
Logger: designer.JXBrowserUtil  
Stack Trace: com.teamdev.jxbrowser.chromium.BrowserException: Failed to initialize or establish a connection with a Chromium render process. You are observing this exception as the render process didn’t respond within 120 seconds after the Browser constructor has been invoked.  
&nbsp;&nbsp;&nbsp;&nbsp;at com.teamdev.jxbrowser.chromium.Browser.\<init\>(SourceFile:3684)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.teamdev.jxbrowser.chromium.Browser.\<init\>(SourceFile:352)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.JXBrowserUtil.initialize(JXBrowserUtil.java:84)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:220)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:1769)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1076)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$loadProject$8(IgnitionDesigner.java:906)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:905)  
&nbsp;&nbsp;&nbsp;&nbsp;at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:1833)  
&nbsp;&nbsp;&nbsp;&nbsp;at java.base/java.lang.Thread.run(Unknown Source)

Can someone please help?

---

<div class="post-metadata">

**Author:** ![joe.friedrich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe.friedrich/32/7505_2.png) [@joe.friedrich](https://forum.inductiveautomation.com/u/joe.friedrich)\
**Post date:** [March 5, 2019, 7:40pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/9 "2019-03-05T19:40:58Z")

</div>

I had to revert to yesterday's build.  
More info here:

> [@\[Bug\] Embedded browser fails to correctly start on b2019030502](http://forum.inductiveautomation.com/t/bug-designer-launcher-loads-the-perspective-module-slowly-after-installing-new-nightly/23065):
>
> The Designer Launcher sat at this screen for a minute or two before loading a project. [image] Opened another Designer window and it did the same thing. Oh, this might be why… Version: 8.0.0-beta0 (b2019030502) [Begin Error Logs] 09:18:41.788 [Designer-Startup] INFO Perspective.Designer - Starting up Perspective module. Mode: Activated 09:18:41 SEVERE: [0305/091841.803:ERROR:connection.cc(1862)] History sqlite error 5, errno 33: database is locked, sql: COMMIT 09:18:41 SEVER…

Mods: no hard feelings if you delete this post and move OP to the thread.

---

<div class="post-metadata">

**Author:** ![jayce.oxton](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jayce.oxton](https://forum.inductiveautomation.com/u/jayce.oxton)\
**Post date:** [March 5, 2019, 8:05pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/10 "2019-03-05T20:05:44Z")

</div>

Hi Joe,

I think you are right. After digging deeper I see some of the same errors in the console. I’m kinda stuck with this though since our project crashed due to a bug in one of the previous releases and this release was supposed to fix that.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/41b8372f4ab3fec01295e731c7f9780a78aee1ff.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 5, 2019, 8:29pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/11 "2019-03-05T20:29:21Z")

</div>

Thanks for reporting these issues, all - we believe we’ve identified a fix and should have it out in the next nightly.

---

<div class="post-metadata">

**Author:** ![jayce.oxton](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jayce.oxton](https://forum.inductiveautomation.com/u/jayce.oxton)\
**Post date:** [March 6, 2019, 9:48pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/12 "2019-03-06T21:48:25Z")

</div>

> [@joe.friedrich](#):
>
> 0

It looks like last nights build fixed the issue. I do get a popup now when I launch the designer, show below, but I can still run the designer!

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1923c3ff7308b843dc0a941d5e0d33e2f284656a.png)

I tried clearing out the cache under my user profile by deleting the .Ignition folder. The error still occurs though. Like I said, not a big deal because I can still use the designer.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 6, 2019, 10:05pm UTC](https://forum.inductiveautomation.com/t/bug-embedded-browser-fails-to-correctly-start-on-b2019030502/23065/13 "2019-03-06T22:05:00Z")

</div>

We’re working on locking down what cased that Chromium profile issue in the first place, although the pending code which originally caused the popup will be back in soon, and once that happens you should no longer generate the warning.
