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 216809 - java.io.IOException: File does not exist.
Summary: java.io.IOException: File does not exist.
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 14:19 UTC by vieiro
Modified: 2012-09-21 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185267


Attachments
stacktrace (3.87 KB, text/plain)
2012-08-13 14:19 UTC, vieiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2012-08-13 14:19:21 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_32-b25
OS: FreeBSD

User Comments:
vieiro: I'm running on FreeBSD, this exception should not be here, I think, as this is an unsupported system.

GUEST: Staring NetBeans -- exception has been thrown immediately after GUI appears

vieiro: I don't have a Solaris on my FreeBSD.

This is: the profiler cannot run on FreeBSD, so it should be disabled by default, I think.

GUEST: Starting netbeans




Stacktrace: 
java.io.IOException: File does not exist.
   at org.netbeans.lib.profiler.utils.MiscUtils.checkFile(MiscUtils.java:489)
   at org.netbeans.lib.profiler.utils.MiscUtils.checkDirForName(MiscUtils.java:467)
   at org.netbeans.lib.profiler.ProfilerEngineSettings.initialize(ProfilerEngineSettings.java:493)
   at org.netbeans.modules.profiler.NetBeansProfiler.<init>(NetBeansProfiler.java:447)
   at org.netbeans.modules.profiler.nbimpl.NetBeansProfiler.<init>(NetBeansProfiler.java:66)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
Comment 1 vieiro 2012-08-13 14:19:23 UTC
Created attachment 123055 [details]
stacktrace
Comment 2 Jiri Sedlacek 2012-09-19 15:32:40 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/616a561beb4e.
Comment 3 Quality Engineering 2012-09-21 02:29:19 UTC
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/616a561beb4e
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #216809 - don't be too noisy when started on an unsupported platform