-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.102
NodeJS 1.2.6
When a new installation of NodeJS tools occurs I see had notice a warning in the console log that refers to a jenkins page about "Serialization of anonymous classes"
WARNING: Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1 in file:/var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
- is related to
-
JENKINS-49994 Report uses of anonymous classes in outgoing Remoting packets
-
- Resolved
-
[JENKINS-53619] Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1
Description |
Original:
WARNING: Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1 in file:/var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ Sep 17, 2018 11:28:45 AM hudson.model.Run execute javap -classpath /var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar -l "jenkins.plugins.nodejs.tools.NodeJSInstallation$1" Compiled from "NodeJSInstallation.java" public class jenkins.plugins.nodejs.tools.NodeJSInstallation extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<jenkins.plugins.nodejs.tools.NodeJSInstallation>, hudson.slaves.NodeSpecific<jenkins.plugins.nodejs.tools.NodeJSInstallation> { public jenkins.plugins.nodejs.tools.NodeJSInstallation(java.lang.String, java.lang.String, java.util.List<? extends hudson.tools.ToolProperty<?>>); LineNumberTable: line 71: 0 line 72: 8 LocalVariableTable: Start Length Slot Name Signature 0 9 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 9 1 name Ljava/lang/String; 0 9 2 home Ljava/lang/String; 0 9 3 properties Ljava/util/List; protected jenkins.plugins.nodejs.tools.NodeJSInstallation(java.lang.String, java.lang.String, java.util.List<? extends hudson.tools.ToolProperty<?>>, jenkins.plugins.nodejs.tools.Platform); LineNumberTable: line 75: 0 line 76: 13 line 77: 19 LocalVariableTable: Start Length Slot Name Signature 0 20 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 20 1 name Ljava/lang/String; 0 20 2 home Ljava/lang/String; 0 20 3 properties Ljava/util/List; 0 20 4 platform Ljenkins/plugins/nodejs/tools/Platform; public jenkins.plugins.nodejs.tools.NodeJSInstallation forEnvironment(hudson.EnvVars); LineNumberTable: line 85: 0 LocalVariableTable: Start Length Slot Name Signature 0 31 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 31 1 environment Lhudson/EnvVars; public jenkins.plugins.nodejs.tools.NodeJSInstallation forNode(hudson.model.Node, hudson.model.TaskListener) throws java.io.IOException, java.lang.InterruptedException; LineNumberTable: line 94: 0 LocalVariableTable: Start Length Slot Name Signature 0 29 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 29 1 node Lhudson/model/Node; 0 29 2 log Lhudson/model/TaskListener; public void buildEnvVars(hudson.EnvVars); LineNumberTable: line 103: 0 line 104: 5 line 105: 9 line 107: 10 line 108: 18 line 109: 29 LocalVariableTable: Start Length Slot Name Signature 0 30 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 30 1 env Lhudson/EnvVars; 5 25 2 home Ljava/lang/String; public java.lang.String getExecutable(hudson.Launcher) throws java.lang.InterruptedException, java.io.IOException; LineNumberTable: line 123: 0 LocalVariableTable: Start Length Slot Name Signature 0 21 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; 0 21 1 launcher Lhudson/Launcher; public hudson.model.EnvironmentSpecific forEnvironment(hudson.EnvVars); LineNumberTable: line 62: 0 LocalVariableTable: Start Length Slot Name Signature 0 6 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; public hudson.slaves.NodeSpecific forNode(hudson.model.Node, hudson.model.TaskListener) throws java.io.IOException, java.lang.InterruptedException; LineNumberTable: line 62: 0 LocalVariableTable: Start Length Slot Name Signature 0 7 0 this Ljenkins/plugins/nodejs/tools/NodeJSInstallation; static jenkins.plugins.nodejs.tools.Platform access$000(jenkins.plugins.nodejs.tools.NodeJSInstallation) throws jenkins.plugins.nodejs.tools.DetectionFailedException; LineNumberTable: line 64: 0 LocalVariableTable: Start Length Slot Name Signature 0 5 0 x0 Ljenkins/plugins/nodejs/tools/NodeJSInstallation; static java.lang.String access$100(jenkins.plugins.nodejs.tools.NodeJSInstallation); LineNumberTable: line 64: 0 LocalVariableTable: Start Length Slot Name Signature 0 5 0 x0 Ljenkins/plugins/nodejs/tools/NodeJSInstallation; } |
New:
When a new installation of NodeJS tools occurs I see had notice a warning in the console log that refers to a jenkins page about "Serialization of anonymous classes" WARNING: Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1 in file:/var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ |
Description |
Original:
When a new installation of NodeJS tools occurs I see had notice a warning in the console log that refers to a jenkins page about "Serialization of anonymous classes" WARNING: Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1 in file:/var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ |
New:
When a new installation of NodeJS tools occurs I see had notice a warning in the console log that refers to a jenkins page about "Serialization of anonymous classes" {noformat} WARNING: Attempt to (de-)serialize anonymous class jenkins.plugins.nodejs.tools.NodeJSInstallation$1 in file:/var/hudson/master/plugins/nodejs/WEB-INF/lib/nodejs.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ {noformat} |
Environment |
New:
Jenkins 2.102 NodeJS 1.2.6 |
Link |
New:
This issue is related to |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
There is no description about the issue, when this happens, nothing to reproduce, unknow version of nodejs plugin or jenkins...
For what I can see there is only a WARNING log (not error) mixed to a heap dump (maybe), all not preformed (JIRA has a lot richtext options).