å¿ãã人ã®1è¡ã¾ã¨ã
å ¥ãã¦ããã©ã°ã¤ã³ãtransientã¤ãå¿ã
æ¦è¦
Jenkinsã®ã°ãã¼ãã«è¨å®ãã¸ã§ãã®è¨å®ãä¿åããæã«é«ç¢ºçã§ãFailed to serializeãã¨ã©ã¼ãåºã¦ãã®åº¦ã«Jenkinsãæ¿ããã«ãªãç¾è±¡ãçºç
ã¨ã©ã¼ã®å 容
javax.servlet.ServletException: java.lang.RuntimeException: Failed to serialize hudson.matrix.MatrixProject#publishers for class hudson.matrix.MatrixProject at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
ã¹ã¿ãã¯ãã¬ã¼ã¹å ¨æ https://gist.github.com/sue445/9dedd61faab63a87c880
ã¹ã¿ãã¯ãã¬ã¼ã¹ãè¶ é·ãä¸ã«ã¨ã©ã¼ãèµ·ããã¯ã©ã¹ãæ¯åå¤ããã®ã§ããããã
ä¸åº¦ãã®ã¨ã©ã¼ã«ãªãã¨appãµã¼ããåèµ·åããªãã¨ç´ããªãã®ã§ã¹ãã¬ã¹ãããã
ã°ã°ã£ã¦ãä¼¼ããããªç¾è±¡ãè¦ã¤ãããªããã¦ã£ããJavaã¨appãµã¼ãã®çµã¿åãããæªãã®ãã¨æã£ã¦ããå ¥ãã¦ããã©ã°ã¤ã³( jenkins-chatwork-plugin )ãåå ã§ããã
åå
è¨å®ãã¡ã¤ã«ã«ä¿åãã¹ãã§ãªãå¤ï¼ã¸ã§ãå®è¡æã®ã¤ã³ã¹ã¿ã³ã¹ï¼ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã¨ãã¦æã£ã¦ããã®ãåå ããã©ã°ã¤ã³ãå¤§å¹ ä¿®æ£ããã®ã«æµæããã£ãã®ã§transientï¼ã¤ããå¤æ°ãã·ãªã¢ã©ã¤ãºå¯¾è±¡å¤ã«ããï¼ã¤ãã¦åé¿ã
ä¿®æ£ããPR Fix: Failed to serialize by sue445 · Pull Request #8 · nanapi/jenkins-chatwork-plugin · GitHub