java.lang.ClassCastException

[Ljava.lang.Object; cannot be cast to java.lang.String

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19491

  • via jsystemtest by oritl
    , 1 year ago
    java.lang.String cannot be cast to [Ljava.lang.Object;
  • via openxava by medasha
    , 8 months ago
    java.lang.String cannot be cast to [Ljava.lang.Object;
  • via Stack Overflow by Lakshmi Prasad
    , 1 year ago
    java.lang.String cannot be cast to [Ljava.lang.Object;
  • Stack trace

    • java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.lang.String at com.sun.jsfcl.std.reference.StyleClassesReferenceDataDefiner.addDesignPropertyItems(StyleClassesReferenceDataDefiner.java:56) at com.sun.jsfcl.std.reference.DesignPropertyAttachedReferenceData.defineItems(DesignPropertyAttachedReferenceData.java:36) at com.sun.jsfcl.std.reference.ReferenceData.getItems(ReferenceData.java:56) at com.sun.jsfcl.std.reference.CompositeReferenceData.defineItems(CompositeReferenceData.java:75) at com.sun.jsfcl.std.reference.ReferenceData.getItems(ReferenceData.java:56) at com.sun.jsfcl.std.reference.CompositeReferenceData.getItems(CompositeReferenceData.java:86) at com.sun.jsfcl.std.reference.CompositeReferenceData.getItemsSorted(CompositeReferenceData.java:96) at com.sun.jsfcl.std.property.ChooseOneReferenceDataPropertyEditor.getItems(ChooseOneReferenceDataPropertyEditor.java:140) at com.sun.jsfcl.std.property.ChooseOneReferenceDataPanel.getChoices(ChooseOneReferenceDataPanel.java:90) at com.sun.jsfcl.std.property.ChooseOneReferenceDataPanel.initializeComponents(ChooseOneReferenceDataPanel.java:206) at com.sun.jsfcl.std.property.ChooseManyReferenceDataPanel.initializeComponents(ChooseManyReferenceDataPanel.java:258) at com.sun.jsfcl.std.property.ChooseManyOfManyReferenceDataPanel.initializeComponents(ChooseManyOfManyReferenceDataPanel.java:355) at com.sun.jsfcl.std.property.AbstractPropertyJPanel.<init>(AbstractPropertyJPanel.java:40) at com.sun.jsfcl.std.property.ChooseOneReferenceDataPanel.<init>(ChooseOneReferenceDataPanel.java:63) at com.sun.jsfcl.std.property.ChooseManyReferenceDataPanel.<init>(ChooseManyReferenceDataPanel.java:57) at com.sun.jsfcl.std.property.ChooseManyOfManyReferenceDataPanel.<init>(ChooseManyOfManyReferenceDataPanel.java:52) at com.sun.jsfcl.std.property.ChooseManyOfManyReferenceDataPropertyEditor.getCustomEditor(ChooseManyOfManyReferenceDataPropertyEditor.java:39) at com.sun.rave.propertyeditors.binding.ValueBindingPropertyEditor.getCustomEditor(ValueBindingPropertyEditor.java:345) at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:111) at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:202) at org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:685) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.