Solved

IFS Developer Studio 10.82.0 Entity deploy Error

  • 4 March 2022
  • 4 replies
  • 239 views

Userlevel 3
Badge +5

Hi,

I have installed the IFS Developer Studio 10.82.0, once we right click on any entity file generate code and deploy getting this error.

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

Please provide solution to overcome this error.

 

icon

Best answer by Dinushi Liyanage 7 March 2022, 10:37

View original

This topic has been closed for comments

4 replies

Userlevel 5
Badge +11

Hi @ProSivasP ,

Try after clearing out the tool cache. Usually these errors go away afterwards.

You can clear the cache by removing the contents of “User Directory” of the Developer Studio tool. 
You can see its location using “Help →  About”. 
Copy the location and close the tool.
Go to the location and delete all the files in the folder (or rename it to something else like 10.82_backup).
Restart the tool.
 

 



Hope this helps.

Kind regards,
Dinushi

Userlevel 3
Badge +5

Hi Dinushi,

I have tried the steps mentioned by you but its not resolved the issue, still we are getting the same error.

 

 

 

java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;
    at org.netbeans.modules.plsql.execution.actions.SaveUsedModels.checkUsedModelsToSave(SaveUsedModels.java:212)
    at org.netbeans.modules.plsql.execution.actions.SaveUsedModels.checkSaveUsedModels(SaveUsedModels.java:68)
    at org.netbeans.modules.plsql.execution.actions.GenerateCodeAndDeployAction.getFilesToDeploy(GenerateCodeAndDeployAction.java:168)
    at org.netbeans.modules.plsql.execution.actions.DeployFilesAction.performAction(DeployFilesAction.java:114)
    at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:586)
    at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
    at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
    at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
    at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:583)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    at java.awt.Component.processMouseEvent(Component.java:6533)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6298)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 

Userlevel 5
Badge +11

Hi @ProSivasP ,

 

Can you update the tool to the latest version and recheck?

 

Kind regards,

Dinushi

Userlevel 3
Badge +5

Hi @ProSivasP ,

 

Can you update the tool to the latest version and recheck?

 

Kind regards,

Dinushi

 

Thank You @Dinushi Liyanage  Issue has been resolved.