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 190400 - Opening persistence.xml file takes 10-30 seconds
Summary: Opening persistence.xml file takes 10-30 seconds
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 18:34 UTC by dukethrash
Modified: 2015-03-24 14:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Sample persistence.xml (1.79 KB, text/xml)
2010-09-16 18:34 UTC, dukethrash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dukethrash 2010-09-16 18:34:14 UTC
Created attachment 102053 [details]
Sample persistence.xml

I've installed Netbeans 6.9.1 and previous versions on multiple Windows XP computers and they all behave the same: opening persistence.xml for the first time takes 10-30 seconds before the edit screen appears.  Editing any other xml document is instantaneous.

Steps to reproduce the problem:

1) Save the attached persistence.xml in the META-INF directory of your project.
2) Double-click the persistence.xml file from the project explorer

You will see that it takes somewhere between 10 to 30 seconds before the file finally opens for editing.
Comment 1 Sergey Petrov 2010-09-16 19:19:59 UTC
do you mean 6.9 or 6.8 etc have the same issue?
have you tried the same on other systems (not win XP)?
can you attach message.log? (may help to see if there are any exceptions)
Comment 2 dukethrash 2010-09-17 12:46:08 UTC
(In reply to comment #1)
> do you mean 6.9 or 6.8 etc have the same issue?
> have you tried the same on other systems (not win XP)?
> can you attach message.log? (may help to see if there are any exceptions)

Yes 6.9.1 and 6.8 have the same issue.  I've never tried it on any other versions.  Where is message.log?  I don't see that file.  I will try the same on my virtual machine running Ubuntu this weekend and let you know.  Thanks.
Comment 3 Sergey Petrov 2010-09-17 13:03:11 UTC
thanks.
message.log is at your 'windows user dir/.netbeans/nb version dir/var/log/'.
just tried locally with j2se project on win7 and it's opened in less the a second.
also project type may have sense for the issue.