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 118818 - [60cat] java.lang.NoSuchMethodError on Access Manager Install
Summary: [60cat] java.lang.NoSuchMethodError on Access Manager Install
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-14 01:48 UTC by thompsonwd40
Modified: 2007-10-17 10:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thompsonwd40 2007-10-14 01:48:08 UTC
[ BUILD # : 200710131200 ]
[ JDK VERSION : 1.5.* ]

Error condition same as Issue 7459 [closed].  The resolution notes do
not remotely resemble the error I encounter.

The IDE has created four automatic exception reports filed under
thompsonwd40 for this condition.  I am using
http://www.netbeans.org/kb/60/javaee/identity-amsecurity.html  steps
to get Access Manager working.  I believe this is the culprit - that
I created a new server instance, and pointed it to the newly
installed Tools subdirectory, which has glassfish embedded.  You
should be able to re-create the error by following the tutorial
steps.

Stack Trace -
java.lang.NoSuchMethodError:
org.netbeans.modules.profiler.NetBeansProfiler.getDefault()Lorg/netbea
ns/lib/profiler/common/Profiler;
        at
org.netbeans.modules.profiler.j2ee.J2EEProfilerSPI.checkState(J2EEProf
ilerSPI.java:614)
        at
org.netbeans.modules.profiler.j2ee.J2EEProfilerSPI.getState(J2EEProfil
erSPI.java:341)
        at
org.netbeans.modules.j2ee.deployment.profiler.api.ProfilerSupport.getS
tate(ProfilerSupport.java:90)
        at
org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.startDeploymentM
anager(StartSunServer.java:265)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(Server
Instance.java:1260)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(S
erverInstance.java:1218)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(S
erverInstance.java:1029)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerI
nstance.java:906)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerI
nstance.java:1067)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(
ServerInstance.java:487)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(Se
rverInstance.java:463)
        at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(
Deployment.java:125)
        at
org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java:41)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java
:277)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java
:460)
        at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151
)
BUILD FAILED (total time: 5 seconds)
Comment 1 Jaroslav Pospisil 2007-10-15 11:20:01 UTC
I can't see nothing common with issue 7459, could you please explain,what you meant by error condition the same?
Thanks.
Comment 2 Jaroslav Pospisil 2007-10-15 11:27:31 UTC
This isn't websvc issue from stack trace. Reassigning to identity for evaluation.
Comment 3 Jaroslav Pospisil 2007-10-15 13:01:10 UTC
I can't reproduce it with 200710150000.I don't think this is Beta 2 stopper,so decreasing priority to P2.
Comment 4 Peter Liu 2007-10-15 22:49:38 UTC
From the stacktrace, this looks like an issue with the profiler. Reassigning to profiler for evaluation.

Comment 5 Tomas Hurka 2007-10-16 13:17:56 UTC
Can you please try to reproduce it with clean userdir?
Comment 6 Jaroslav Pospisil 2007-10-16 15:29:14 UTC
This issue was reported by Exceptions report tool from NB6 and reporter isn't registered in issuezilla, so he can't
answer  the comments here.His e-mail address is e-mail thompsonwd40@comcast.net .
Comment 7 thompsonwd40 2007-10-16 15:40:34 UTC
I am now registered and will answer via IssueZilla - I am currently working on uninstalling yesterday's install attempt.
 I will download and install JDK1.6.0_03, and remove my JDK1.6.0_01 version.  Then I will clean my userdir.  Will let
you know what happens. 
Comment 8 Tomas Hurka 2007-10-16 15:52:21 UTC
To jpospisil:
You are wrong, this issue was reported by user thompsonwd40 not an exceptions report tool. Also please do not post
complete email address in issuezilla - it can be easily found by spammers. 
Comment 9 Jaroslav Pospisil 2007-10-16 16:06:18 UTC
The tool is missing some kind of back loop,that was what I meant.I'm sorry for posting email,I just wanted to get you in
touch.Thanks for registering,David.
Comment 10 thompsonwd40 2007-10-16 16:10:59 UTC
Everybody is trying their best, thank you all.  Please bear with me, as I have many interruptions here at work and
cannot respond as fast as I would like.
Comment 11 thompsonwd40 2007-10-16 19:05:04 UTC
No success - following are today's Step-by-step:

Win remove: 	NB 6.0 200710150000
		GlassFish V2 Build 58g
Download JDK:	Windows Platform - Java(TM) SE Development Kit 6 Update 3
		http://java.sun.com/javase/downloads/index.jsp
		jdk-6u3-windows-i586-p.exe
Install JDK:	C:\Program Files\Java\jdk1.6.0_03\
Delete jdk1.6.0_01
Delete from C:\Documents and Settings\DTHOMPSON\
-- .asadminpass
-- .asadmintruststore
Delete from .netbeans\
-- M10\
-- 6.0beta1\
-- dev\
Exit Java EE 5 running in system tray
Delete C:\Sun*.*

Install netbeans-trunk-nightly-200710150000-windows.exe
C:\Program Files\NetBeans 6.0 200710150000
C:\Program Files\Java\jdk1.6.0_03
C:\Program Files\glassfish-v2-b58g
Install java_app_platform_sdk-5_03-beta-windows-nojdk.exe
! Existing installation has been detected in this directory. C:\Sun\SDK\
! Existing installation has been detected in this directory. C:\Sun\SDK1\
Install to C:\Sun\SDK2
JDK: C:\Program Files\Java\jdk1.6.0_03
Installation Complete
Start Server
- Startup complete - Server has been started
Start NB
Settings from a previous NetBeans Session have been detected, import them?  NO
Services | Servers
- Add Server
- Platform Location: C:\Sun\SDK2
created: Server | GlassFish V2(1)
Expand GlassFish V2(1)
!! No Access Manager
- Restart Server
!! No Access Manager

Manually type in: http://localhost:8080/amserver
-- HTTP 404 Error - The requested resource () is not available.
Comment 12 Tomas Hurka 2007-10-16 20:05:07 UTC
But there is no java.lang.NoSuchMethodError on Access Manager Install, right?
Comment 13 thompsonwd40 2007-10-16 20:18:11 UTC
thurka - you are correct.  The original error condition does not manifest itself when I deploy and run an application
within the NetBeans environment, an intermediate problem stopping all further progress.  I am now faced with my original
problem in getting an Access Manager node to appear in the services tab.  

How do I proceed from here - do I open a new Issue?
Comment 14 Tomas Hurka 2007-10-17 10:53:10 UTC
Yes. File new issue, since your current problem has nothing to do with profiler. 
Closing as works-for-me.