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 215313

Summary: Unable to package as NBM
Product: apisupport Reporter: javydreamercsw <javydreamercsw>
Component: HarnessAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jrechtacek
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
a log of Package as NBMS
messages.log
messages.log IDE running as Admin
log of Package as NBMS

Description javydreamercsw 2012-07-09 20:25:12 UTC
Product Version = NetBeans IDE 7.2 (Build 201206291011)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) Client VM 23.1-b03

Trying to package as NBM stalls. Checking the task manager I noticed a pack200 process running (for no apparent reason since I'm not building installer). Killing it lets the process finish.
Comment 1 javydreamercsw 2012-07-09 20:25:15 UTC
Created attachment 121860 [details]
IDE log
Comment 2 Jiri Rechtacek 2012-07-10 07:42:03 UTC
(In reply to comment #0)
> Product Version = NetBeans IDE 7.2 (Build 201206291011)
> Operating System = Windows 7 version 6.1 running on x86
> Java; VM; Vendor = 1.7.0_05
> Runtime = Java HotSpot(TM) Client VM 23.1-b03
> 
> Trying to package as NBM stalls. Checking the task manager I noticed a pack200
> process running (for no apparent reason since I'm not building installer).
> Killing it lets the process finish.

It's intentional. pack200 is used for reducing size of NBM archives for long time ago.
Comment 3 Jiri Rechtacek 2012-07-10 08:25:24 UTC
Created attachment 121873 [details]
a log of Package as NBMS

It works for me on NB 7.2
Comment 4 Jiri Rechtacek 2012-07-10 08:26:15 UTC
Created attachment 121874 [details]
messages.log
Comment 5 Jiri Rechtacek 2012-07-10 08:27:11 UTC
Works for me:

  Product Version         = NetBeans IDE 7.2 (Build 201207092359) (#d224ea722320)
  Operating System        = Windows 7 version 6.1 running on x86
  Java; VM; Vendor        = 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_05-b05
  Java Home               = C:\Program Files (x86)\Java\jdk1.7.0_05\jre
Comment 6 javydreamercsw 2012-07-10 13:09:59 UTC
But why it locks in my case? The IDE just stalls there until the process is killed.
Comment 7 javydreamercsw 2012-07-10 13:23:04 UTC
Maybe an important detail is that I have to run the IDE as an administrator. Not sure if it has something to do. Right now the IDE has stalled for 5 minutes in my case on the nbm task.
Comment 8 Jiri Rechtacek 2012-07-22 15:52:23 UTC
Created attachment 122248 [details]
messages.log IDE running as Admin
Comment 9 Jiri Rechtacek 2012-07-22 15:55:53 UTC
Created attachment 122249 [details]
log of Package as NBMS
Comment 10 Jiri Rechtacek 2012-07-22 16:01:12 UTC
Works for me if I run IDE as Administrator. I'm afraid we cannot fix your problem. Reopen if you find any new circumstances. Thanks

  Product Version         = NetBeans IDE 7.2 RC1 (Build 201206272359) (#452cf1e04ba3)
  Operating System        = Windows 7 version 6.1 running on x86
  Java; VM; Vendor        = 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_05-b05
  Java Home               = C:\Program Files (x86)\Java\jdk1.7.0_05\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Users\jirka
  Current Directory       = C:\Program Files (x86)\NetBeans 7.2 RC1