Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 219874 - Error in log file after upgrading netbeans to 7.2
Error in log file after upgrading netbeans to 7.2
Product: platform
Classification: Unclassified
Component: -- Other --
PC Windows 7
: P3 (vote)
Assigned To: Jaroslav Havlin
Depends on:
  Show dependency treegraph
Reported: 2012-10-11 03:35 UTC by abeer
Modified: 2012-11-08 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT

IDE log (39.81 KB, text/plain)
2012-10-11 03:35 UTC, abeer

Note You need to log in before you can comment on or make changes to this bug.
Description abeer 2012-10-11 03:35:11 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01

I upgrade netbeans 7.1 to netbeans 7.2 when I tried to run my previously created project an error showed 

log4j:ERROR setFile(null,true) call failed. C:\Program Files (x86)\Java\jdk1.7.0_07\jrelog4j_jgap_lf.log (Access is denied)
	at Method)
	at org.apache.log4j.FileAppender.setFile(
	at org.apache.log4j.RollingFileAppender.setFile(
	at org.apache.log4j.FileAppender.activateOptions(
	at org.apache.log4j.config.PropertySetter.activate(
	at org.apache.log4j.config.PropertySetter.setProperties(
	at org.apache.log4j.config.PropertySetter.setProperties(
	at org.apache.log4j.PropertyConfigurator.parseAppender(
	at org.apache.log4j.PropertyConfigurator.parseCategory(
	at org.apache.log4j.PropertyConfigurator.configureRootCategory(
	at org.apache.log4j.PropertyConfigurator.doConfigure(
	at org.apache.log4j.PropertyConfigurator.doConfigure(
	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(
	at org.apache.log4j.LogManager.<clinit>(
	at org.apache.log4j.Logger.getLogger(
	at org.apache.commons.logging.impl.Log4JLogger.getLogger(
	at org.apache.commons.logging.impl.Log4JLogger.<init>(
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(
	at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(
	at org.apache.commons.logging.LogFactory.getLog(
	at net.didion.jwnl.util.MessageLog.<init>(
	at net.didion.jwnl.dictionary.Dictionary.<clinit>(

how to solve this issue
Comment 1 abeer 2012-10-11 03:35:17 UTC
Created attachment 125742 [details]
IDE log
Comment 2 Jaroslav Havlin 2012-11-07 14:56:06 UTC
The error is printed by NetBeans, or by your own application?
It seems that you are attempting to write to file 
C:\Program Files (x86)\Java\jdk1.7.0_07\jrelog4j_jgap_lf.log.
Do you have permissions to write to this file?
Didn't you run the previous NetBeans version as administrator?
Thanks in advance.
Comment 3 Stanislav Aubrecht 2012-11-08 14:07:54 UTC
This module uses Apache logging framework:

It fails probably because the logger does not initialize correctly.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo