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 152674 - ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
Summary: ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Thuy.d Nguyen
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 12:46 UTC by dyegoleal
Modified: 2009-09-22 12:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 4804


Attachments
stacktrace (1023 bytes, text/plain)
2008-11-07 12:47 UTC, dyegoleal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dyegoleal 2008-11-07 12:46:58 UTC
Build: NetBeans IDE Dev (Build 200811070201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments:
fpmdias: When I start JBoss Application Server

fpmdias: When I start JBoss Application Server

GUEST: During a clean/compile task using ant 1.7.0 and jdk1.5.0_02

GUEST: Debugging

GUEST: I was trying to start JBOSS server.



Stacktrace: 
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
        at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1149)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1382)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at org.netbeans.modules.jee.jboss.JBDeploymentManager.getRMIServer(JBDeploymentManager.java:184)
Comment 1 dyegoleal 2008-11-07 12:47:04 UTC
Created attachment 73466 [details]
stacktrace
Comment 2 Thuy.d Nguyen 2008-12-23 01:50:10 UTC
I'm not able to reproduce this issue when just starting JBoss 4.2.3 GA or 5.0 GA using the latest development build of
NB 7.0.
 
Which version of JBoss server were you using when getting this message? Are you able to reproduce it everytime?
Also, could you give more info regarding the steps to reproduce this error.  
Comment 3 vorpal 2008-12-23 07:10:57 UTC
Same error occured when i trying to attach remote debugger to alredy running application. server - jetty. Debug
parameters - -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n.

Actions - choose debug -> attach debugger. Then remote debugger successfully started, but this error occured.
Comment 4 Michal Mocnak 2009-09-22 10:18:16 UTC
Please reevaluate
Comment 5 vorpal 2009-09-22 11:36:44 UTC
Issue is not reproduced. Netbeans 6.7.1 (jdk 1.6u16).
Comment 6 Petr Hejl 2009-09-22 12:00:23 UTC
Closing as fixed. There are only reports from 6.0 and 6.5.