Internal Error With OPC Connections

Hello,

I am trying to create new OPC connections but am being greeted with an ‘internal error’.

" Internal Error "

Can you upload your logs or post the error and stack trace from them?

Kevin I’m having a similar issue on Ignition v8.0.15. At the start of this the Ignition OPC Server and the loopback client were connected and operating as expected. However we needed to change the port number that the OPC Server was using. I made that change and restated the OPC-UA module. I then first attempted to modify the loopback client to use the newly assigned port number. That failed with the infamous Internal Error exception being emitted. I attempted to create a new connection named test that used the newly assigned port number that that fails in the same manner.

org.apache.wicket.WicketRuntimeException: Expected to find in base markup: jar:file:/D:/Program%20Files/Inductive%20Automation/Ignition/data/jar-cache/com.inductiveautomation.opcua/__3772820235__opc-ua-gateway-8.0.15.jar!/com/inductiveautomation/ignition/gateway/opcua/client/connection/web/discovery/wizardsteps/AbstractDiscoveryWizardStep.html

at org.apache.wicket.markup.MergedMarkup.merge(MergedMarkup.java:246)

at org.apache.wicket.markup.MergedMarkup.(MergedMarkup.java:85)

at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:82)

at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:52)

at org.apache.wicket.markup.MarkupFactory.loadMarkup(MarkupFactory.java:412)

at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:448)

at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:541)

at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:305)

at org.apache.wicket.markup.MarkupFactory.getMarkup(MarkupFactory.java:236)

at org.apache.wicket.markup.MarkupFactory.getMarkup(MarkupFactory.java:194)

at org.apache.wicket.MarkupContainer.getAssociatedMarkup(MarkupContainer.java:401)

at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:94)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:82)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:82)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.list.ListView.getMarkup(ListView.java:664)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.Component.getMarkupTag(Component.java:1379)

at org.apache.wicket.Component.getMarkupIdFromMarkup(Component.java:751)

at org.apache.wicket.Component.getMarkupIdImpl(Component.java:1436)

at org.apache.wicket.Component.getMarkupId(Component.java:1464)

at org.apache.wicket.Component.getMarkupId(Component.java:1534)

at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.ChooseDiscoveryServerStep$1.populateItem(ChooseDiscoveryServerStep.java:59)

at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:524)

at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:116)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1734)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1734)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.extensions.wizard.Wizard.onBeforeRender(Wizard.java:332)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Page.onBeforeRender(Page.java:802)

at com.inductiveautomation.ignition.gateway.web.pages.BasePage.onBeforeRender(BasePage.java:303)

at com.inductiveautomation.ignition.gateway.web.pages.AuthenticatedPage.onBeforeRender(AuthenticatedPage.java:96)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.Component.internalPrepareForRender(Component.java:2204)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:247)

at org.apache.wicket.Component.render(Component.java:2289)

at org.apache.wicket.Page.renderPage(Page.java:1021)

at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:116)

at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:244)

at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)

at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.Server.handle(Server.java:500)

at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)

at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)

at java.base/java.lang.Thread.run(Unknown Source)

Delete D:/Program%20Files/Inductive%20Automation/Ignition/data/jar-cache/com.inductiveautomation.opcua and restart, should get you up and running again.

Thanks for the quick response Kevin. I’ll give it a try.

It won’t allow me to delete the folder? Does the ignition service need to be stopped?

Ah, yeah, probably on Windows it does.

That took care of it. Thanks again.

Kevin, we are experiencing the same problem on Debian running version 8.1.13, is the correct directory /var/lib/ignition/data/jar-cache/com.inductiveautomation.opcua and do I delete the whole directory or just the files?

Thank you

You can delete either.

Some day you should consider re-installing and restoring a backup - you must be running an Ignition you’ve upgraded over the years, because we no longer explode the different parts of Ignition out into the filesystem on Linux for no reason.

I will take that under advisement and start prepping a couple of new VMs to move the system to.