[Hippo-cms7-user] Failed to instantiate HstEditorPerspective after 7.5 -> 7.6 update

Jasper de Vries jasper.de.vries at ddnh.nl
Tue Oct 4 16:23:51 CEST 2011


Hi,

I've dug up some additional information. We're using cms release 7.6.1, 
so hippo.addon-hst-configuration-editor.version 1.07.00 [2].

The error occurs on 
HstEditorPerspective.<init>(HstEditorPerspective.java:74) [3].

I did a search on the file "yui.config" (not sure if it is or should be 
a file) in my JARs without any results.

I've noticed that hippo.addon-hst-configuration-editor.version 1.08.01 
is available [4]. Is it worth trying that one? Or is that an internal 
version as well? [5]

Kind regards,
Jasper


[2] 
http://maven.onehippo.com/maven2/org/onehippo/cms7/hippo-cms7-release/7.6.1/hippo-cms7-release-7.6.1.pom

[3] 
http://svn.onehippo.org/repos/hippo/hippo-cms7/addons/addon-hst-configuration-editor/tags/hippo-addon-hst-configuration-editor-1.07.00/frontend/src/main/java/org/hippoecm/hst/plugins/frontend/HstEditorPerspective.java

61  public HstEditorPerspective(final IPluginContext context, final 
IPluginConfig config) {
62      super(context, config);
63    
64      List<String> mountPointNodePaths = getMountPointNodePaths();
65      if (!mountPointNodePaths.isEmpty()) {
66          currentMountPointNodePath = mountPointNodePaths.get(0);
67      }
68    
69      String rootModelPath = config.getString(EDITOR_ROOT);
70      if (!StringUtils.isBlank(rootModelPath) && 
mountPointNodePaths.contains(rootModelPath)) {
71          currentMountPointNodePath = rootModelPath;
72      }
73
74      add(new WireframeBehavior(new 
WireframeSettings(config.getPluginConfig("yui.config"))));
75  }

[4] 
http://svn.onehippo.org/repos/hippo/hippo-cms7/addons/addon-hst-configuration-editor/tags/

[5] 
http://hippo.2275632.n2.nabble.com/Is-it-safe-to-update-a-cms-7-6-1-from-version-2-20-x-to-2-21-x-td6855232.html

On 3-10-2011 17:39, Jeroen Reijn wrote:
> Hi,
>
> have you updated all you dependencies.
> It seems to me that the hst editor dependency is no longer suited or
> available. I personally did not do any upgrades to 7.6, but it seems
> to me that this is hsteditor related.
>
> Cheers,
>
> Jeroen
>
> On Thu, Sep 29, 2011 at 5:59 PM, Jasper de Vries
> <jasper.de.vries at ddnh.nl> wrote:
>   
>> Hi,
>>
>> After upgrading a cms from 7.5 to 7.6.1 there is a tab missing in the UI
>> between the tabs "Browse" and "Admin". There is an empty space which is
>> clickable. When I click it I get this error (in the cms UI; please also
>> check the info from the log [1]):
>>
>> java.lang.NullPointerException: null
>> Failed to instantiate plugin
>> 'org.hippoecm.hst.plugins.frontend.HstEditorPerspective' for id
>> 'service.tab'.
>>
>> Does anybody know how to solve this?
>>
>> I'm upgrading a CMS (from 7.4) with multiple sites configured. Maybe it's
>> related (it's definitely not standard; I had problems updating to 7.5 as
>> well because of it).
>>
>> Kind regards,
>> Jasper
>>
>> [1]
>> 29.09.2011 17:24:47 ERROR
>> [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():90]
>> java.lang.NullPointerException: null
>> java.lang.reflect.InvocationTargetException
>>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>   at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>   at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>   at
>> org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:72)
>>   at
>> org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:86)
>>   at
>> org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:320)
>> ..
>> Caused by: java.lang.NullPointerException
>>   at
>> org.hippoecm.frontend.plugins.yui.layout.WireframeSettings.<init>(WireframeSettings.java:75)
>>   at
>> org.hippoecm.hst.plugins.frontend.HstEditorPerspective.<init>(HstEditorPerspective.java:74)
>>   ... 51 more
>> 29.09.2011 17:24:47 DEBUG
>> [org.hippoecm.frontend.plugin.impl.PluginContext.stop():331] stopping
>> clusters for plugin unknown
>> 29.09.2011 17:24:47 DEBUG
>> [org.hippoecm.frontend.plugin.impl.PluginContext.stop():347] releasing
>> service factory instances for plugin unknown
>>
>>
>>
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
>>
>>     
>
>
>
>   



More information about the Hippo-cms7-user mailing list