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 205119

Summary: Zip File Closed JPA or Jsf From entities Classes wizzard
Product: javaee Reporter: ckinfos <ckinfos>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED DUPLICATE    
Severity: normal CC: marfous
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: picture of the incident

Description ckinfos 2011-11-14 21:02:09 UTC
when you have created your wntity classes from database and try to add the Controller Classes with the New File Persistence JPA Controller class from entities or even the JSF Form from entities you get an error zip file closed. Cannot proceed any further
Comment 1 Martin Fousek 2011-11-14 21:14:25 UTC
Thanks for reporting. Ckinfos, aren't you using JDK 1.7ea?
It looks suspiciously similar to issue #196716.

If it's so, you can workaround that by downloading latest JDK 1.7.
Comment 2 Sergey Petrov 2011-11-15 15:42:58 UTC
ckinfos, can you answer the question above?
Also if "no" above, what project type, nb distibution type, any additional libraries in your project, stacktrace? If exception pop-up, can you submit issue with review and submit button? 
Please reopen with more details. All works fine for me, more details are required.
Comment 3 ckinfos 2011-11-15 16:09:41 UTC
Created attachment 113233 [details]
picture of the incident
Comment 4 ckinfos 2011-11-15 16:10:45 UTC
NETBEANS 7.0.1 - ABOUT SCREEN INFO
Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b08
System: Windows XP version 5.1 running on x86; Cp1253; en_US (nb)
Userdir: C:\Documents and Settings\ckinfos\.netbeans\7.0
Comment 5 Sergey Petrov 2011-11-15 16:12:09 UTC
Thanks, with Java: 1.7.0-ea; it's likely a duplicate of 196716
Comment 6 Martin Fousek 2011-11-16 05:42:58 UTC
Yeah, agree that it's a duplicate of #196716.

Ckinfos sorry, we are probably not able to help you in another way than to recommend to use newer JDK 1.7? Feel free to reopen this bug when you would be able to reproduce with i.e. JDK 1.7u1:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html

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