Michal Owsiak created NETBEANS-1534:
---------------------------------------
Summary: It is impossible to run FreeForm sample code in profiler
using ant
Key: NETBEANS-1534
URL: https://issues.apache.org/jira/browse/NETBEANS-1534
Project: NetBeans
Issue Type: Test
Components: cnd - Profile
Environment: Product Version: Apache NetBeans IDE Dev (Build
incubator-netbeans-release-345-on-20181002)
Java: 11; OpenJDK 64-Bit Server VM 11+28
Runtime: OpenJDK Runtime Environment 11+28
System: Mac OS X version 10.13.3 running on x86_64; UTF-8; en_US (nb)
Reporter: Michal Owsiak
It is impossible to run project when following steps here:
[http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2325/v/1]
Application doesn't start - it looks like class name is not properly resolved.
{code:java}
ant -f /Users/michalo/Downloads/FreeForm/nbproject/ide-targets.xml profile-nb
profile-nb:
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds
(Protocol version: 18)
Profiler Agent: Established connection with the tool
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.netbeans.lib.profiler.server.ClassLoaderManager to method
java.lang.ClassLoader.findLoadedClass(java.lang.String)
WARNING: Please consider reporting this to the maintainers of
org.netbeans.lib.profiler.server.ClassLoaderManager
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Profiler Agent: Local accelerated session
Profiler Agent: Initializing...
Profiler Agent: Options: >/Users/michalo/opt/netbeans/profiler/lib,5140,10<
Profiler Agent: Initialized successfully
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Error: Could not find or load main class ${mainclass}
Caused by: java.lang.ClassNotFoundException: ${mainclass}
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
Java Result: 1
BUILD SUCCESSFUL (total time: 8 seconds){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists