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 64634

Summary: java.lang.NoSuchMethodException: java.io.File.setReadable(boolean, boolean)
Product: platform Reporter: Tomas Danek <musilt2>
Component: -- Other --Assignee: Jaroslav Tulach <jtulach>
Status: VERIFIED WONTFIX    
Severity: blocker Keywords: JDK_SPECIFIC
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2005-09-19 09:46:18 UTC
This exception appears after just after creating standalone module by project
wizard. Anyway,I cannot realize how this affects usability.
Output from output window:

...
run:
Created dir: C:\Pr\module4\build\testuserdir\etc
run:
java.lang.NoSuchMethodException: java.io.File.setReadable(boolean, boolean)
        at java.lang.Class.getMethod(Class.java:1591)
        at org.netbeans.CLIHandler.secureAccess(CLIHandler.java:663)
        at org.netbeans.CLIHandler.initialize(CLIHandler.java:443)
        at org.netbeans.CLIHandler.initialize(CLIHandler.java:281)
        at org.netbeans.Main.execute(Main.java:157)
        at org.netbeans.Main.main(Main.java:39)
-------------------------------------------------------------------------------
>Log Session: Monday, September 19, 2005 10:38:57 AM CEST
>System Info: 
  Product Version       = NetBeans IDE Dev (Build 200509181800)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.6.0-ea; Java HotSpot(TM) Client VM 1.6.0-ea-b42; Sun
Microsystems Inc.
...
Comment 1 Jaroslav Tulach 2005-09-19 12:05:49 UTC
1. Exception is harmless, I guess.  
2. Fix is simple - upgrade to newer version of JDK, Build 1.6.0-ea-b51 is ok 
 
Comment 2 Tomas Danek 2005-09-20 12:45:33 UTC
ok. verified.