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.

Bug 195477 - Profiler error 60
Summary: Profiler error 60
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
: 195660 196971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-15 00:22 UTC by Chiana
Modified: 2011-03-22 17:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (89.22 KB, image/x-png)
2011-02-15 00:23 UTC, Chiana
Details
messages.log (133.67 KB, application/octet-stream)
2011-02-15 00:23 UTC, Chiana
Details
Stackdump from netbeans (26.39 KB, text/plain)
2011-02-16 03:04 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2011-02-15 00:22:22 UTC
[ BUILD # : 6641on110214 ]
[ JDK VERSION : 1.6.23 ]

Tried profiling application, got error shown in screenshot.
Comment 1 Chiana 2011-02-15 00:23:08 UTC
Created attachment 106006 [details]
Screenshot
Comment 2 Chiana 2011-02-15 00:23:46 UTC
Created attachment 106007 [details]
messages.log
Comment 3 Chiana 2011-02-15 00:32:27 UTC
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)
Comment 4 Chiana 2011-02-15 01:23:32 UTC
This problem also in ß2 candidate.
Comment 5 Tomas Hurka 2011-02-15 09:57:37 UTC
Can you provide steps how to reproduce it? messages.log does not provide enough information to find out what is wrong. Thanks.
Comment 6 Chiana 2011-02-15 10:29:49 UTC
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...
Comment 7 Chiana 2011-02-16 03:04:07 UTC
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.
Comment 8 Chiana 2011-02-16 03:29:12 UTC
This completley stops the operation of the profiler atleast on the JavaEE platform => P2
Comment 9 Tomas Hurka 2011-02-16 05:59:40 UTC
(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.
Comment 10 Tomas Hurka 2011-02-16 09:39:33 UTC
I am able to reproduce it.
Comment 11 Chiana 2011-02-16 11:18:05 UTC
(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.
Comment 12 Tomas Hurka 2011-02-16 15:44:15 UTC
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
Comment 13 Chiana 2011-02-17 17:10:02 UTC
Verified with 6664on110217
Comment 14 Tomas Hurka 2011-02-17 17:30:01 UTC
Thanks for reporting this regression and the verification of the fix.
Comment 15 Chiana 2011-02-17 17:38:35 UTC
(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...
Comment 16 Quality Engineering 2011-02-18 10:33:39 UTC
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
Comment 17 Tomas Hurka 2011-02-18 15:11:57 UTC
*** Bug 195660 has been marked as a duplicate of this bug. ***
Comment 18 sgtgarcia 2011-03-22 17:41:37 UTC
*** Bug 196971 has been marked as a duplicate of this bug. ***