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 199232 - Folder org already exists on ctrl-F6 in ejb test
Summary: Folder org already exists on ctrl-F6 in ejb test
Status: RESOLVED DUPLICATE of bug 197248
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 11:46 UTC by lawaa
Modified: 2011-06-07 21:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Tree of the Preferences folder (11.11 KB, text/plain)
2011-06-07 11:47 UTC, lawaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lawaa 2011-06-07 11:46:52 UTC
Folder org already exists in /home/user/.netbeans/7.0/config/ (/home/user/.netbeans/7.0/config/Preferences/org)

Tree of the Preferences is attached.

Problem:
The message above pops up in an alert window when i press ctrl-F6 (test file)
These alerts stack up (20 at least). Test itself seems to work as intended

Environment:
Linux, openJDK, NB 7.0
Action:
Testing a ejb using arquillian (maven project)



P.s.
This may be not related to j2ee component, but some generenl fault, but since it happens in j2ee project, i report it here.
There're similar reports either marked "fixed" or non 7.0.
I.e. #197248
Comment 1 lawaa 2011-06-07 11:47:38 UTC
Created attachment 108777 [details]
Tree of the Preferences folder
Comment 2 lawaa 2011-06-07 12:02:37 UTC
Also there been an exception (not sure if happens all the time).

java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
	at java.util.jar.JarFile.<init>(JarFile.java:150)
	at java.util.jar.JarFile.<init>(JarFile.java:129)
[catch] at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:468)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:461)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:490)
	at org.netbeans.JarClassLoader$JarSource.resource(JarClassLoader.java:526)
	at org.netbeans.Archive.getData(Archive.java:199)
	at org.netbeans.JarClassLoader$JarSource.doGetResource(JarClassLoader.java:504)
	at org.netbeans.JarClassLoader$Source.getResource(JarClassLoader.java:337)
	at org.netbeans.JarClassLoader.findResource(JarClassLoader.java:272)
	at org.netbeans.ProxyClassLoader.getResourceImpl(ProxyClassLoader.java:376)
	at org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:344)
	at org.openide.util.NbBundle.loadBundle(NbBundle.java:556)
	at org.openide.util.NbBundle.getBundleFast(NbBundle.java:520)
	at org.openide.util.NbBundle.getBundle(NbBundle.java:446)
	at org.openide.util.NbBundle.getBundle(NbBundle.java:399)
	at org.netbeans.core.windows.services.NbPresenter.<init>(NbPresenter.java:136)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:233)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:261)
	at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:158)
	at org.netbeans.core.NotifyExcPanel$2.run(NotifyExcPanel.java:290)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Comment 3 David Konecny 2011-06-07 18:22:22 UTC
I'm not sure who is storing what in Preferences and why it fails. Passing to base Maven support.
Comment 4 Jesse Glick 2011-06-07 21:16:11 UTC
(In reply to comment #0)
> The message above pops up in an alert window when i press ctrl-F6 (test file)
> These alerts stack up (20 at least). Test itself seems to work as intended

Never heard of such a problem. Any known steps to reproduce from scratch?

> Linux, openJDK, NB 7.0

Did you try on an official JDK build? Using a fresh IDE installation?

> Testing a ejb using arquillian (maven project)

Any project, or just this specific one?

(In reply to comment #2)
> Also there been an exception (not sure if happens all the time).
> 
> java.util.zip.ZipException: error in opening zip file
>     at java.util.zip.ZipFile.open(Native Method)
...
>     at org.openide.util.NbBundle.getBundle(NbBundle.java:399)
>     at org.netbeans.core.windows.services.NbPresenter.<init>(NbPresenter.java:136)

Sounds like you ran out of file handles.

*** This bug has been marked as a duplicate of bug 197248 ***