You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Geertjan Wielenga (JIRA)" <ji...@apache.org> on 2017/11/18 09:36:00 UTC
[jira] [Created] (NETBEANS-157) Problems with Windows nbexec for
Apache NetBeans 9.0 Alpha
Geertjan Wielenga created NETBEANS-157:
------------------------------------------
Summary: Problems with Windows nbexec for Apache NetBeans 9.0 Alpha
Key: NETBEANS-157
URL: https://issues.apache.org/jira/browse/NETBEANS-157
Project: NetBeans
Issue Type: Bug
Environment: Windows
Reporter: Geertjan Wielenga
On Windows, when running platform\lib\nbexec*.exe, in Apache NetBeans 9.0 Alpha, this error may occur:
..\Downloads\netbeans\platform\lib\nbexec64.exe
java.io.FileNotFoundException: \lock (Zugriff verweigert)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:555)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:359)
at org.netbeans.MainImpl.execute(MainImpl.java:168)
at org.netbeans.MainImpl.main(MainImpl.java:60)
at org.netbeans.Main.main(Main.java:58)
Exception in thread "main" java.lang.NullPointerException
at org.netbeans.CLIHandler.initialize(CLIHandler.java:684)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:359)
at org.netbeans.MainImpl.execute(MainImpl.java:168)
at org.netbeans.MainImpl.main(MainImpl.java:60)
at org.netbeans.Main.main(Main.java:58)
Related discussion thread on this:
https://lists.apache.org/thread.html/a2ee0c199a4f742b22249d7993233465e18bc8252a665af37f75728e@%3Cdev.netbeans.apache.org%3E
Reason:
nbexec is using the root folder (/) for the userdir and cache dir.
Workaround, run nbexec like this instead:
./platform/lib/nbexec --userdir /tmp/testuserdir
Also, running 'ant tryme' in the root folder should start up the NetBeans Platform correctly.
The other point is that it is probably not relevant to run the NetBeans Platform at all, so long as applications created on top of it can run, which they should/can.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)