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 158868 - IOException occurs right-click at a Web Project
Summary: IOException occurs right-click at a Web Project
Status: RESOLVED DUPLICATE of bug 154002
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-20 03:19 UTC by davisn
Modified: 2009-04-02 18:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (104.40 KB, text/plain)
2009-02-20 03:21 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-02-20 03:19:49 UTC
-IOException occurs when right-click at a Web Project.
-The problem doesn't happen if I do not activate GlassFish V2 and GlassFish V3 Preluded servers

Steps To Reproduce
1. Install NB Trunk build (all version, dated 02/19/2009)
2. From Plugin panel, select to Activate GlassFish V3 Prelude and then GlassFish V3 Servers
3. Create a Web Project > select to activate J2EE components
4. Right-click at the recently created project
5. Open messages.log file to observe

SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@4cde3acc
INFO [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]
java.io.IOException: Could not connect to URL nbresloc:/org/netbeans/modules/html/templates/html.html. No such resource
was found.
        at
org.netbeans.core.startup.NbURLStreamHandlerFactory$NbResourceStreamHandler$Connection.connect(NbURLStreamHandlerFactory.java:163
)
        at
org.netbeans.core.startup.NbURLStreamHandlerFactory$NbResourceStreamHandler$Connection.getInputStream(NbURLStreamHandlerFactory.j
ava:222)
        at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:691)
Caused: java.io.FileNotFoundException
        at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:695)
        at org.openide.filesystems.MIMESupport$CachedFileObject.getInputStream(MIMESupport.java:360)
        at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$Type.accept(MIMEResolverImpl.java:1061)
        at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$Type.access$2800(MIMEResolverImpl.java:723)
[catch] at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$FileElement.resolve(MIMEResolverImpl.java:683)
        at
org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$FileElement.access$700(MIMEResolverImpl.java:654)
        at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl$Impl.findMIMEType(MIMEResolverImpl.java:312)
        at org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:331)
        at org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:283)
Comment 1 davisn 2009-02-20 03:21:18 UTC
Created attachment 77185 [details]
messages.log
Comment 2 Vince Kraemer 2009-04-02 18:39:31 UTC
I could not reproduce this.

(even ignoring the fact that a user cannot execute step 2 anymore)

Looks like dup, too.

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