現象
バージョン10.3.0.2で作成したロボットの先頭に「Assign Variable(変数の割当)」ステップがあると、10.3.0.2以降のロボット読み込み時にInternal Errorとなり開けない。
※10.4では修正済み
対処方法
下位バージョンの10.3.0.2で以下の対応を実施ください。
・任意のステップ名に変更する。
※デフォルトのステップ名の場合に本事象が発生するので、任意のステップ名を変更することで回避することができます。
・例)Stack Trace(スタックトレース)のエラーメッセージ
java.lang.NullPointerException at kapow.robot.robomaker.model.common.engine.RobotExecutionModel.getDataState(RobotExecutionModel.java:209) at kapow.robot.plugin.common.support.datamapping.ShowXMLDataMappingDialogAction.getUpdatedEnabledState(ShowXMLDataMappingDialogAction.java:62) at kapow.robot.robomaker.gui.common.action.EditedStepBasedAction.updateEnabledState(EditedStepBasedAction.java:139) at kapow.robot.robomaker.gui.common.action.EditedStepBasedAction.lambda$new$330(EditedStepBasedAction.java:95) at kapow.util.model.ChangeAggregatingModel.endModifications(ChangeAggregatingModel.java:92) at kapow.robot.robomaker.engine.design.direct.DirectExecutionController.applyEngineStateToExecutionModel(DirectExecutionController.java:261) at kapow.robot.robomaker.engine.ExecutionController.updateToEngineStateChanges(ExecutionController.java:149) at kapow.robot.robomaker.engine.design.DesignExecutionController.access$1800(DesignExecutionController.java:31) at kapow.robot.robomaker.engine.design.DesignExecutionController$DesignModeExecutionControllerEngineCallback$2.doUpdate(DesignExecutionController.java:458) at kapow.util.gui.SwingUpdateHandler.doPendingUpdates(SwingUpdateHandler.java:249) at kapow.util.gui.SwingUpdateHandler.waitForEndOfUpdates(SwingUpdateHandler.java:121) at kapow.robot.robomaker.engine.design.DesignExecutionController$DesignModeExecutionControllerEngineCallback.executionInitiated(DesignExecutionController.java:394) at kapow.robot.robomaker.engine.StudioRobotExecutionEngine.startBackgroundExecution(StudioRobotExecutionEngine.java:312) at kapow.robot.robomaker.engine.design.direct.DirectRobotExecutionEngine.startExecution(DirectRobotExecutionEngine.java:482) at kapow.robot.robomaker.engine.design.DesignRobotExecutionEngine.setAutomaticExecutionEnabled(DesignRobotExecutionEngine.java:152) at kapow.robot.robomaker.engine.design.DesignExecutionController.enableAutomaticExecutionWithoutUndo(DesignExecutionController.java:269) at kapow.robot.robomaker.RoboMaker.enableAutomaticExecutionWithoutUndo(RoboMaker.java:970) at com.kapowtech.connector.platform.studio.editor.robot.RobotEditor.makeRobotReadyForEditing(RobotEditor.java:396) at com.kapowtech.connector.platform.studio.editor.robot.RobotEditor.<init>(RobotEditor.java:331) at com.kapowtech.connector.platform.common.robot.AbstractRobotFileType.createFileEditor(AbstractRobotFileType.java:133) at com.kapowtech.connector.platform.studio.ide.controller.IDEController.getFileEditor(IDEController.java:763) at com.kapowtech.connector.platform.studio.ide.controller.IDEController.getFileEditor(IDEController.java:732) at com.kapowtech.connector.platform.studio.ide.controller.IDEController.createAndSelectFileEditor(IDEController.java:1296) at com.kapowtech.connector.platform.studio.ide.controller.IDEController.lambda$null$897(IDEController.java:1245) at kapow.util.gui.SwingThreadUtil$1.run(SwingThreadUtil.java:56) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) 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.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) 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) at TRIGGERED_BY.invokeLater(Unknown Source) at kapow.util.gui.SwingThreadUtil.invokeLater(SwingThreadUtil.java:50) at com.kapowtech.connector.platform.studio.ide.controller.IDEController.lambda$openFileElement$899(IDEController.java:1237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
区分 | 発生Ver | 改修ID | 修正Ver |
不具合 | 10.3x | 1257812 | 10.4.0 |