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 250770 - Unexpected Exception during Clean and Build
Summary: Unexpected Exception during Clean and Build
Status: RESOLVED DUPLICATE of bug 250700
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: All Windows 7
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 15:21 UTC by ShakirAli
Modified: 2015-02-28 17:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
this is the error of unexpected error. (72.15 KB, application/octet-stream)
2015-02-27 15:21 UTC, ShakirAli
Details
netbeans config file. (2.86 KB, application/octet-stream)
2015-02-27 18:48 UTC, ShakirAli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ShakirAli 2015-02-27 15:21:32 UTC
Created attachment 152282 [details]
this is the error of unexpected error.

Hello,
My project is running perfectly but when i try to Clean and Build the project. The message.log file is attached.  
Please help me out. 
Regards
Comment 1 Jiri Prox 2015-02-27 15:54:54 UTC
The cause is OutOfMemoryException, please try increace the heap space as proposed in issue 250700, currenty your IDE is taking 407m at maximum, see the netbeans.conf for more info.

I'm marking this as duplicate of 250700, since the cause is the same

*** This bug has been marked as a duplicate of bug 250700 ***
Comment 2 ShakirAli 2015-02-27 18:48:22 UTC
Created attachment 152290 [details]
netbeans config file.

Thanks a lot of your guidance.
But i have already increased the memory size in netbeans.conf which is attached. Please have a look and help me out. My project is pending due to this error. 
Thanks in advance.
Comment 3 Tomas Zezula 2015-02-27 19:14:59 UTC
We are solving the problem in the issue #250700.
Currently we try to solve it by putting these properties into nbproject/project.propertie:


javac.fork=true
javac.compilerargs=-J-Xmx1G

before adding them please check that they are not already in the project.properties file with some other values.
Comment 4 Tomas Zezula 2015-02-28 17:48:37 UTC
Seems that:

javac.fork=true
javac.compilerargs=-J-Xmx1G

solves the problem. So please add it into the project.properties