UI doubles

Poster Content
nk4um Moderator
Posts: 901
March 24, 2011 16:35
Hi Gary - the symptom of duplicate backend portlets would be caused when you have two versions of the control panel installed at the same time.  Its a consequence of the dynamic discovery - two modules are saying they have control panel stuff, and so they all get pulled in and then appear as duplicates.

It''d be nice to capture what series of steps got it into this state - I''ve not seen this before.

Anyway let us know if you have any more trouble.

Cheers,

Peter
Like · Post Reply
nk4um User
Posts: 92
March 24, 2011 16:31Clean install
I have re-installed NK and the duplicate issue has gone away.

Even within the boot up, there was a command near the end, Searching for spaces with CronConfig, loading jobs... and this was output twice.

Not sure how it got into this state - but I now have a fresh install.  If I can replicate it again I will let you know.

Gary
Like · Post Reply
nk4um Moderator
Posts: 901
March 24, 2011 15:59
Hi Gary,

I just tried the following test

1. a clean download of NKEE.
2. installed to /temp/gary-test/
3. booted up.
4. allowed it to sync with repos on first boot
5. went to apposite - there are 22 updates to install.  Selected apply all updates.
6. Update completed
7. Installed tutorial-rest-ws and the assert library dependency

I''m afraid I don''t get see errors and system status is "green".

Can you confirm the intitial config and version of your system - I''m not sure if we don''t need to add some more package dependency constraints to the repository.

Cheers,

Peter
Like · Post Reply
nk4um Moderator
Posts: 901
March 24, 2011 15:46
Hi Gary,

Thanks for reporting this.  So we can try to replicate this can you tell me - was this an out of the box, fully updated/patched NKEE?

The NPE ought not be critical - it appears that the modulelist endpoint, used by the new space explorer is trying to ask for some metadata (for its transport listing) and it seems like the transport is not up to date

We''ll see if we can reproduce this - watch this space.

Peter
Like · Post Reply
nk4um User
Posts: 92
March 24, 2011 15:28UI doubles
I recently tried to install turorial-rest-web-services.  This then required layer0-assert.  After installing, everything has become doubled.
I now have 2 of every tab - except Explore and Apposite.  On all the tabs that are duplicated, the buttons/images and choices are duplicated.
I tried rolling back in apposite, but that did not resolve the issue.
I am seeing Exceptions when NK starts up, particularly when starting the HTTP Fulcrum.  StackTrace below

<ex>
<ex>
  <id>org.netkernel.layer0.nkf.NKFException</id>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE http://localhost:1060/tools/explore as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Fulcrum / Backend /rootspace</space>
  <endpointId>ep:5E5VEI-71LN8X</endpointId>
  <endpoint>HTTPBridgeOverlay</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.http.transport.HTTPBridgeOverlayConfig.onRequest() line:220</level>
    <level>org.netkernel.module.standard.endpoint.ConfiguredOverlayImpl.onRequest() line:219</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 19 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE res:/tools/explore as IBinaryStreamRepresentation</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>HTTP Bridge Overlay</space>
  <endpointId>ep:3EKI14-GTZBD6</endpointId>
  <endpoint>DynamicImportEndpoint</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.layer0.util.Utils.delegateRequestInto() line:386</level>
    <level>org.netkernel.layer1.endpoint.DynamicImportEndpoint.onRequest() line:140</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 27 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE res:/tools/explore as IBinaryStreamRepresentation</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Control Panel (private)</space>
  <endpointId>ep:3EKI14-GTZBD6</endpointId>
  <endpoint>PluggableOverlay</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.module.standard.builtin.PluggableOverlay$PluggableConfig.onRequest() line:154</level>
    <level>org.netkernel.module.standard.endpoint.ConfiguredOverlayImpl.onRequest() line:219</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 35 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE res:/tools/explore as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Control Panel - For Services Use</space>
  <endpointId>ep:3EKI14-GTZBD6</endpointId>
  <endpoint>DynamicImportEndpoint</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.layer0.util.Utils.delegateRequestInto() line:386</level>
    <level>org.netkernel.layer1.endpoint.DynamicImportEndpoint.onRequest() line:140</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 43 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE res:/tools/explore as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>NKSE / Tools  (private)</space>
  <endpointId>ep:3EKI14-GTZBD6</endpointId>
  <endpoint>MapperOverlay</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.module.standard.builtin.mapper.MapperConfig$Mapping.onRequest() line:479</level>
    <level>org.netkernel.module.standard.builtin.mapper.MapperConfig.onRequest() line:225</level>
    <level>org.netkernel.module.standard.endpoint.ConfiguredOverlayImpl.onRequest() line:219</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 51 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:groovy+operator@res%3A/tools/explorer/explorer.gy as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Lang / Groovy  (private)</space>
  <endpointId>GroovyRuntime</endpointId>
  <endpoint>GroovyRuntime</endpoint>
  <ex>
   <id>Unhandled Exception in GroovyRuntime</id>
   <location>res:/tools/explorer/explorer.gy line:17</location>
  </ex>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:xrl2+template@res%3A/tools/explorer/template2.xml as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Lang / XRL  (private)</space>
  <endpointId>XRL2Runtime</endpointId>
  <endpoint>XRL2Runtime</endpoint>
  <ex>
   <id>XRL Include Failure</id>
   <message>Unhandled exception processing eval of [&lt;null&gt;]</message>
   <location>/div/div/table/tr/td[1]/div/xrl:include</location>
  </ex>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:explorerModuleTree as Node</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>NKSE / Tools  (private)</space>
  <endpointId>ep:3EKI14-ETZBD6</endpointId>
  <endpoint>MapperOverlay</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.module.standard.builtin.mapper.MapperConfig$Mapping.onRequest() line:479</level>
    <level>org.netkernel.module.standard.builtin.mapper.MapperConfig.onRequest() line:225</level>
    <level>org.netkernel.module.standard.endpoint.ConfiguredOverlayImpl.onRequest() line:219</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 92 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:groovy+operator@res%3A/tools/explorer/moduleTree.gy as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Lang / Groovy  (private)</space>
  <endpointId>GroovyRuntime</endpointId>
  <endpoint>GroovyRuntime</endpoint>
  <ex>
   <id>Unhandled Exception in GroovyRuntime</id>
   <location>res:/tools/explorer/moduleTree.gy line:13</location>
  </ex>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:moduleListDoc as Document</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>System Services  (private)</space>
  <endpointId>ep:KG8K71-UM9ECO</endpointId>
  <endpoint>ModuleListAccessor</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.sourceForResponse() line:587</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.getWhole() line:124</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.onSource() line:100</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onRequest() line:141</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 119 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:moduleListWhole as IRepDeployedModules</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>System Services  (private)</space>
  <endpointId>ep:KG8K71-UM9ECO</endpointId>
  <endpoint>ModuleListAccessor</endpoint>
  <ex>
   <id>org.netkernel.layer0.nkf.NKFException</id>
   <stack>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueKernelRequest() line:507</level>
    <level>org.netkernel.layer0.nkf.impl.NKFContextImpl.issueRequestForResponse() line:406</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.generateWhole() line:160</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.onSource() line:97</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onRequest() line:141</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 129 more</level>
   </stack>
  </ex>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE active:moduleList+moduleHash@85 as RepSingleModule</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>System Services  (private)</space>
  <endpointId>ep:KG8K71-UM9ECO</endpointId>
  <endpoint>ModuleListAccessor</endpoint>
  <ex>
   <id>java.lang.NullPointerException</id>
   <stack>
    <level>org.netkernel.http.transport.HTTPTransportEndpoint.getState() line:164</level>
    <level>org.netkernel.layer0.meta.impl.PhysicalEndpointMetaImpl.getAdditionalFields() line:54</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.writeMappings() line:410</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.writeSpace() line:364</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.generateSingleModuleRep() line:262</level>
    <level>org.netkernel.ext.system.accessor.ModuleListAccessor.onSource() line:88</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onRequest() line:141</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 138 more</level>
   </stack>
  </ex>
</ex>
</ex>
Like · Post Reply