{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/1154","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/1154/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/1154/events","html_url":"https://github.com/payara/Payara/issues/1154","id":185853509,"number":1154,"title":"Buffer overflow after \"Unknow type constant pool\" during restart","user":{"login":"itservices-trust","id":23115030,"avatar_url":"https://avatars.githubusercontent.com/u/23115030?v=3","gravatar_id":"","url":"https://api.github.com/users/itservices-trust","html_url":"https://github.com/itservices-trust","followers_url":"https://api.github.com/users/itservices-trust/followers","following_url":"https://api.github.com/users/itservices-trust/following{/other_user}","gists_url":"https://api.github.com/users/itservices-trust/gists{/gist_id}","starred_url":"https://api.github.com/users/itservices-trust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itservices-trust/subscriptions","organizations_url":"https://api.github.com/users/itservices-trust/orgs","repos_url":"https://api.github.com/users/itservices-trust/repos","events_url":"https://api.github.com/users/itservices-trust/events{/privacy}","received_events_url":"https://api.github.com/users/itservices-trust/received_events","type":"User","site_admin":false},"labels":[{"id":354171516,"url":"https://api.github.com/repos/payara/Payara/labels/0:Triaged","name":"0:Triaged","color":"0052cc","default":false},{"id":354172147,"url":"https://api.github.com/repos/payara/Payara/labels/c:PossibleBug","name":"c:PossibleBug","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-28T07:09:06Z","updated_at":"2016-10-28T10:56:04Z","closed_at":null,"body":"# Description #\r\n----------\r\n\r\nRestarting PAYARA with an application successfully deployed (.ear), result in buffer overflow\r\nSeems related to an issue supposed to be resolved in version 162\r\nWe try our code on two different machine and the result differ\r\nOn the first machine, with java version 1.8.0_35-b13 the server restart(or application reload) without any problem\r\nOn the second machine, with java version 1.8.0_101-b13, the error raise up, both in restart or in reload\r\nOur code use java8 lambda features\r\n\r\n## Expected Outcome\r\n\r\nApplication reload or server restart successfully\r\n## Current Outcome\r\n\r\n`Severe:   Unknow type constant pool 18 at position41\r\nSevere:   Unknow type constant pool 0 at position42\r\nSevere:   Unknow type constant pool 0 at position43\r\nSevere:   Exception while deploying the app [dmlm4]\r\nSevere:   Exception during lifecycle processing\r\njava.nio.BufferUnderflowException\r\n\tat java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)\r\n\tat com.sun.enterprise.deployment.annotation.introspection.ConstantPoolInfo.containsAnnotation(ConstantPoolInfo.java:86)\r\n\tat com.sun.enterprise.deployment.annotation.introspection.ClassFile.containsAnnotation(ClassFile.java:133)\r\n\tat com.sun.enterprise.deployment.annotation.introspection.ClassFile.containsAnnotation(ClassFile.java:87)\r\n\tat com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:157)\r\n\tat com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:146)\r\n\tat com.sun.enterprise.deployment.util.AnnotationDetector.hasAnnotationInArchive(AnnotationDetector.java:137)\r\n\tat com.sun.enterprise.deployment.archivist.ApplicationArchivist.getApplicationFromIntrospection(ApplicationArchivist.java:393)\r\n\tat com.sun.enterprise.deployment.archivist.ApplicationArchivist.createApplication(ApplicationArchivist.java:264)\r\n\tat org.glassfish.javaee.full.deployment.EarHandler.getApplicationHolder(EarHandler.java:584)\r\n\tat org.glassfish.javaee.full.deployment.EarHandler.initCompositeMetaData(EarHandler.java:561)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.getSniffers(ApplicationLifecycle.java:656)\r\n\tat com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:359)\r\n\tat com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)\r\n\tat com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:243)\r\n\tat org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:326)\r\n\tat org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)\r\n\tat org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)\r\n\tat org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)\r\n\tat org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)\r\n\tat org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022)\r\n\tat org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)\r\n\tat org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)\r\n\tat org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)\r\n\tat org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\nSevere:   Application deployment failed: Exception while deploying the app [xxxx]`\r\n\r\n\r\n## Steps to reproduce (Only for bug reports) \r\n\r\n## Environment ##\r\n\r\n- **Payara Version**: 4.1.1.x\r\n- **Edition**: Full\r\n- **JDK Version**: 8 u101 - Oracle\r\n- **Operating System**:  Linux\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/256892752","html_url":"https://github.com/payara/Payara/issues/1154#issuecomment-256892752","issue_url":"https://api.github.com/repos/payara/Payara/issues/1154","id":256892752,"user":{"login":"jerrinot","id":158619,"avatar_url":"https://avatars.githubusercontent.com/u/158619?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrinot","html_url":"https://github.com/jerrinot","followers_url":"https://api.github.com/users/jerrinot/followers","following_url":"https://api.github.com/users/jerrinot/following{/other_user}","gists_url":"https://api.github.com/users/jerrinot/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrinot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrinot/subscriptions","organizations_url":"https://api.github.com/users/jerrinot/orgs","repos_url":"https://api.github.com/users/jerrinot/repos","events_url":"https://api.github.com/users/jerrinot/events{/privacy}","received_events_url":"https://api.github.com/users/jerrinot/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T10:56:04Z","updated_at":"2016-10-28T10:56:04Z","body":"@OndrejM: It would be great to have milestones in PRs/issues. "}}
{"actor":{"display_login":"jerrinot"}}