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.
Created attachment 144724 [details] Output log. Profiling with remote platform fails when workdir does not ends with slash. To reproduce: Open Tools|Java Platforms and click Add Platform... Select Remote Java Standard Edition and click Next Fill in text fields host=pi.cz.oracle.com, username=tester, appropriate password, remote JRE path=/opt/ejre1.8.0-compact3 Set workdir to e.g. /tmp/abcd Click Finish and platform should be successfully added Close Java Platform Manager Create new Java application project and into main class add some code which will run for some period of time In case of compact1, compact2, compact3 runtime platform the project requires JDK 8.To set the JDK 8 as a project platform go to File/Project Properties/Libraries. If the JDK 8 platform is not yet defined in the IDE click Manage Platforms... and add a new Java Standard Edition platform by pointing the file chooser to JDK 8 home directory. Go to Sources category and select JDK 8 and required profile, eg. Compact 2 Go to Run category and change a Runtime Platform from Project Platform to created remote platform. A new project configuration with remote execution is created. Click OK to save project properties Right-click project node and choose Run to verify that project runs on remote platform (see commands in the output window) Right-click project node and choose Profile Select CPU - Advanced and click Run but it fails Product Version: NetBeans IDE Dev (Build 201401310001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b127 System: Linux version 3.2.0-33-generic running on i386; UTF-8; en_US (nb)
fixed in: http://hg.netbeans.org/profiler-main/rev/7f370fab0721
Integrated into 'main-silver', will be available in build *201402050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7f370fab0721 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #241329 - fixing missing '/' in path