This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 6641on110214 ] [ JDK VERSION : 1.6.23 ] Tried profiling application, got error shown in screenshot.
Created attachment 106006 [details] Screenshot
Created attachment 106007 [details] messages.log
Complete output window; Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 11) Profiler Agent: Established connection with the tool Profiler Agent: Local accelerated session Profiler Agent Error: Redefinition failed for classes: ent.structs.Radtyper$Radtyp Profiler Agent Error: with message: Redefinition failed with error 60 Check JVMTI documentation for this error code. Debug: writing class file: ent.structs.Radtyper$Radtyp, into file: ent.structs.Radtyper$Radtyp.class Profiler Agent Error: Redefinition failed for classes: ent.Locator Profiler Agent Error: with message: Redefinition failed with error 60 Check JVMTI documentation for this error code. Debug: writing class file: ent.Locator, into file: ent.Locator.class Starting ORB initialization Initializing context 2011-feb-15 01:28:44 com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default. Trying connection to server Service not found or lookup error java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/ejb/RemoveException at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.privateGetPublicMethods(Class.java:2557) at java.lang.Class.privateGetPublicMethods(Class.java:2557) at java.lang.Class.getMethods(Class.java:1410) at com.sun.corba.ee.impl.presentation.rmi.IDLTypesUtil.validateRemoteInterface(IDLTypesUtil.java:96) at com.sun.corba.ee.impl.presentation.rmi.IDLNameTranslatorImpl.<init>(IDLNameTranslatorImpl.java:226) at com.sun.corba.ee.impl.presentation.rmi.IDLNameTranslatorImpl.<init>(IDLNameTranslatorImpl.java:65) at com.sun.corba.ee.impl.presentation.rmi.IDLNameTranslatorImpl$2.run(IDLNameTranslatorImpl.java:169) at com.sun.corba.ee.impl.presentation.rmi.IDLNameTranslatorImpl$2.run(IDLNameTranslatorImpl.java:167) at java.security.AccessController.doPrivileged(Native Method) at com.sun.corba.ee.impl.presentation.rmi.IDLNameTranslatorImpl.get(IDLNameTranslatorImpl.java:166) at com.sun.corba.ee.impl.presentation.rmi.PresentationManagerImpl$ClassDataImpl.<init>(PresentationManagerImpl.java:153) at com.sun.corba.ee.impl.presentation.rmi.PresentationManagerImpl$1.lookup(PresentationManagerImpl.java:103) at com.sun.corba.ee.impl.presentation.rmi.PresentationManagerImpl$1.lookup(PresentationManagerImpl.java:100) at com.sun.corba.ee.spi.orbutil.misc.WeakCache.get(WeakCache.java:114) at com.sun.corba.ee.impl.presentation.rmi.PresentationManagerImpl.getClassData(PresentationManagerImpl.java:131) at com.sun.corba.ee.impl.presentation.rmi.StubFactoryFactoryDynamicBase.createStubFactory(StubFactoryFactoryDynamicBase.java:91) at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:835) at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:252) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:406) at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:75) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:595) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:557) at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491) at javax.naming.InitialContext.lookup(InitialContext.java:392) at ent.Locator.<init>(Locator.java:80) at ent.Locator.<clinit>(Locator.java:44) at ent.Globdata.<init>(Globdata.java:25) at ent.Globdata.<clinit>(Globdata.java:20) at main.kassa$27.checkDates(kassa.java:1160) at main.kassa$27.doInBackground(kassa.java:1088) at main.kassa$27.doInBackground(kassa.java:1075) at javax.swing.SwingWorker$1.call(SwingWorker.java:277) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at javax.swing.SwingWorker.run(SwingWorker.java:316) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Profiler Agent: Connection with agent closed Profiler Agent: Connection with agent closed Java Result: 1 BUILD SUCCESSFUL (total time: 1 minute 32 seconds)
This problem also in ß2 candidate.
Can you provide steps how to reproduce it? messages.log does not provide enough information to find out what is wrong. Thanks.
Just made a right-click on the project (EE) selected profile and it occured, I wonder if this is not a regression too (as 195478) I'll see if I can fix you some more data later on today...
Created attachment 106050 [details] Stackdump from netbeans Stackdump from netbeans when the dialog containing the error is showing. Hope this can sched some light on what's happening... Run on 6651on110215.
This completley stops the operation of the profiler atleast on the JavaEE platform => P2
(In reply to comment #7) > Created an attachment (id=106050) [details] > Stackdump from netbeans > > Stackdump from netbeans when the dialog containing the error is showing. > Hope this can sched some light on what's happening... > Run on 6651on110215. No, it does not help. It does not seem to be a general issue like #195478. so I need exact steps how to reproduce it. Thanks.
I am able to reproduce it.
(In reply to comment #10) > I am able to reproduce it. Super, if you need any help I'll be on and off at the keyboard whole day... I'll keep an eye out for any fix (if there is one that is...) and check it asap.
Fixed in profiler-main changeset: 188409:9c7e822f0d18 user: Tomas Hurka <thurka@netbeans.org> date: Wed Feb 16 16:41:08 2011 +0100 summary: bugfix #195477, #191297, insert StackMapTable attribute at the end of Code attribute
Verified with 6664on110217
Thanks for reporting this regression and the verification of the fix.
(In reply to comment #14) > Thanks for reporting this regression and the verification of the fix. You are most welcome, and if it shows up again be sure that I'm going to report it, thats what we NetCAT's do you know...
Integrated into 'main-golden', will be available in build *201102180501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9c7e822f0d18 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #195477, #191297, insert StackMapTable attribute at the end of Code attribute
*** Bug 195660 has been marked as a duplicate of this bug. ***
*** Bug 196971 has been marked as a duplicate of this bug. ***