[ 
https://issues.apache.org/jira/browse/NETBEANS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16636997#comment-16636997
 ] 

Gilberto C Andrade edited comment on NETBEANS-882 at 10/3/18 2:00 PM:
----------------------------------------------------------------------

This is what I usually do.
 I have openjdk:
{noformat}
/usr/lib64/jvm/java-1.8.0-openjdk/(DEFAULT ONE)
/usr/lib64/jvm/java-11-openjdk
{noformat}
and oracle one:
{noformat}
/opt/jvm/jdk-10.0.2/
/opt/jvm/jdk1.8.0_181/
{noformat}
Each Monday I get the last build (ex incubating-netbeans-java-854-linux) and 
extract it side by side the week before:
{noformat}
~ $ ll -d bin/incubating-netbeans-*
 bin/incubating-netbeans-10.0-vc1-bin
 bin/incubating-netbeans-java-615-linux
 bin/incubating-netbeans-java-854-linux
{noformat}
Make a copy of the .netbeans folder:
{noformat}
cp -a .netbeans .netbeans_backup
{noformat}
And test/start the build with each jdk installed using my actual(Darcula, 
MarkDown, FreeMaker, JavaEE, etc) .netbeans folder.
{noformat}
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/opt/jvm/jdk-10.0.2
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/usr/lib64/jvm/java-11-openjdk
{noformat}
I open our enterprise web application (javaEE 7 web profile one), take note of 
any problem. If the build has no regression I will make it my default IDE.
 Do the same test/start, but now with a clean environment, removing the 
.netbeans folder:
{noformat}
rm -rf .netbeans

bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/opt/jvm/jdk-10.0.2
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/usr/lib64/jvm/java-11-openjdk
{noformat}
This time as the IDE has no JavaEE plugins, (if it has no problem) I begin to 
install them: Darcula, MarkDown, FreeMaker, JavaEE, etc.
 Take note and report any issue.


was (Author: gilbertoca):
This is what I usually do.
 I have openjdk:
{noformat}
/usr/lib64/jvm/java-1.8.0-openjdk/(DEFAULT ONE)
/usr/lib64/jvm/java-11-openjdk
{noformat}
and oracle one:
{noformat}
/opt/jvm/jdk-10.0.2/
/opt/jvm/jdk1.8.0_181/
{noformat}
Each Monday I get the last build (ex incubating-netbeans-java-854-linux) and 
extract it side by side the week before:
{noformat}
~ $ ll -d bin/incubating-netbeans-*
 bin/incubating-netbeans-10.0-vc1-bin
 bin/incubating-netbeans-java-615-linux
 bin/incubating-netbeans-java-854-linux
{noformat}
Make a copy of the .netbeans folder:
{noformat}
cp -a .netbeans .netbeans_backup
{noformat}
And test/start the build with it using each jdk installed using my 
actual(Darcula, MarkDown, FreeMaker, JavaEE, etc) .netbeans folder.
{noformat}
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/opt/jvm/jdk-10.0.2
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/usr/lib64/jvm/java-11-openjdk
{noformat}
I open our enterprise web application (javaEE 7 web profile one), take note of 
any problem. If the build has no regression I will make it my default IDE.
 Do the same test/start, but now with a clean environment, removing the 
.netbeans folder:
{noformat}
rm -rf .netbeans

bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/opt/jvm/jdk-10.0.2
bin/incubating-netbeans-10.0-vc1-bin/bin/netbeans --locale en --jdkhome 
/usr/lib64/jvm/java-11-openjdk
{noformat}
This time as the IDE has no JavaEE plugins, (if it has no problem) I begin to 
install them: Darcula, MarkDown, FreeMaker, JavaEE, etc.
 Take note and report any issue.

> Exception running under JDK 11
> ------------------------------
>
>                 Key: NETBEANS-882
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-882
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 10.0
>            Reporter: Sven Reimers
>            Priority: Blocker
>             Fix For: 10.0
>
>         Attachments: Screenshot_20180918_104806.png, 
> Screenshot_20180918_104851.png, Screenshot_20181002_095023.png, 
> exception_on_openjdk11.txt, image-2018-05-30-11-34-53-526.png, 
> image-2018-05-30-12-20-16-090.png, image-2018-09-18-11-15-45-588.png
>
>
> Installed some modules and got this - no code no nothing done..
> {code:java}
> javax.management.openmbean.OpenDataException: Argument value of wrong type 
> for item lineNumber: value java.lang.ref.Reference, type 
> javax.management.openmbean.SimpleType(name=java.lang.Integer)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:235)
> at 
> java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118)
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
> Caused: java.lang.AssertionError
> at 
> java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
> at 
> java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
> at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
> at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
> at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
> at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
> at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.core.TimableEventQueue$1R.run(TimableEventQueue.java:223)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){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

Reply via email to