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 142900 - [test] javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Summary: [test] javax.naming.NoInitialContextException: Need to specify class name in ...
Status: RESOLVED DUPLICATE of bug 142899
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 11:48 UTC by Jan Horvath
Modified: 2008-08-05 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 35862


Attachments
stacktrace (1.24 KB, text/plain)
2008-08-05 11:48 UTC, Jan Horvath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2008-08-05 11:48:38 UTC
Build: NetBeans IDE Dev (Build 080805)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 
-run HQL query editor in existing project
-start typing a query, exception raised while typing

Stacktrace: 
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
        at javax.naming.InitialContext.getNameParser(InitialContext.java:439)
        at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
        at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
Comment 1 Jan Horvath 2008-08-05 11:48:45 UTC
Created attachment 66577 [details]
stacktrace
Comment 2 Vadiraj Deshpande 2008-08-05 12:25:04 UTC
clear dup.

*** This issue has been marked as a duplicate of 142899 ***