You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2018/04/30 23:32:00 UTC

[jira] [Updated] (NETBEANS-157) Problems with Windows nbexec for Apache NetBeans 9.0 Alpha

     [ https://issues.apache.org/jira/browse/NETBEANS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi updated NETBEANS-157:
-------------------------------------
    Fix Version/s: 9.0

> 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
>            Priority: Major
>             Fix For: 9.0
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists