RE: Another Question

2018-06-13 Thread Joseph Huber
Mike,

Just a simple thing to try...

I actually ran into a similar problem yesterday with NB 8 when setting up a Web 
Services Client.  I was pointed to the wsdl and the code using the web service 
had no errors, but wouldn't run or debug due to missing classes for the web 
service.  I did a "Clean and Build", which solved the problem.  Apparently, 
Clean and Build created some missing resources.

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Cell: 682-777-8374
jhu...@stanref.com

From: Mike Billman [mailto:mikebill...@qcsoftware.com]
Sent: Wednesday, June 13, 2018 1:28 PM
To: us...@netbeans.incubator.apache.org
Subject: Another Question

I was trying to use the web services feature in NB 9.  I point to my wsdl and 
it shows me all the methods as I would expect.  However, when I test I get the 
following stack trace:

com/sun/istack/logging/Logger
java.lang.NoClassDefFoundError at
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:763)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
java.net.URLClassLoader.access$100(URLClassLoader.java:73)


Mike Billman
Senior Software Engineer
CPTE

[qclogo]

11800 Conrey Rd
Suite 150
Cincinnati, OH 45249

T +1 513 469 1424
E mikebill...@qcsoftware.com
F +1 513 469 1425



Another Question

2018-06-13 Thread Mike Billman
I was trying to use the web services feature in NB 9.  I point to my wsdl and 
it shows me all the methods as I would expect.  However, when I test I get the 
following stack trace:

com/sun/istack/logging/Logger
java.lang.NoClassDefFoundError at
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:763)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
java.net.URLClassLoader.access$100(URLClassLoader.java:73)


Mike Billman
Senior Software Engineer
CPTE

[qclogo]

11800 Conrey Rd
Suite 150
Cincinnati, OH 45249

T +1 513 469 1424
E mikebill...@qcsoftware.com
F +1 513 469 1425



Re: IllegalStateException on startup (NB 9)

2018-06-13 Thread Emilian Bold
You have a 3rd party plugin com.peter.mavenrunner.MavenRunnerTopComponent 
that's calling a NetBeans API outside the AWT thread.

NetBeans is just warning you about that. Generally it's not causing something 
but once in a blue-moon such calls will cause unexpected states and bugs will 
show up.

I recommend you notify the plugin author too. My guess is the plugin is this: 
http://plugins.netbeans.org/plugin/60381/maven-runner so you can add an issue 
here https://gitlab.com/mcheung63/MavenRunner/issues

--emi

‐‐‐ Original Message ‐‐‐

On 13 June 2018 2:46 PM, Mike Billman  wrote:

> I have gotten this exception two days in a row when starting NB 9.  Seems to 
> not have any impact on the IDE, but strange.
> 
>  
> 
> java.lang.IllegalStateException: Problem in some module which uses Window 
> System: Window System API is required to be called from AWT thread only, see 
> http://core.netbeans.org/proposals/threading/
> 
>     at 
> org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1747)
> 
>     at 
> org.netbeans.core.windows.WindowManagerImpl.topComponentToolTipChanged(WindowManagerImpl.java:1352)
> 
>     at 
> org.openide.windows.TopComponent.setToolTipText(TopComponent.java:1043)
> 
>     at 
> com.peter.mavenrunner.MavenRunnerTopComponent.(MavenRunnerTopComponent.java:115)
> 
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 
>     at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 
>     at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 
>     at 
> org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:197)
> 
>     at 
> org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1417)
> 
>     at 
> org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:821)
> 
>     at 
> org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:572)
> 
>     at 
> org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1030)
> 
>     at 
> org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:1010)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeSingleResult(ProxyLookup.java:1260)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1098)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1065)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1048)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.toArray(ProxyLookup.java:1154)
> 
>     at java.util.ArrayList.addAll(ArrayList.java:581)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1118)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1065)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.delegate(ProxyLookup.java:1048)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.isEmpty(ProxyLookup.java:1138)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.computeDelegate(ProxyLookup.java:1109)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection.access$900(ProxyLookup.java:1026)
> 
>     at 
> org.openide.util.lookup.ProxyLookup$LazyCollection$1.hasNext(ProxyLookup.java:1226)
> 
>     at 
> org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate(DelegatingLookupImpl.java:115)
> 
>     at 
> org.netbeans.spi.project.support.DelegatingLookupImpl.(DelegatingLookupImpl.java:72)
> 
>     at 
> org.netbeans.spi.project.support.LookupProviderSupport.createCompositeLookup(LookupProviderSupport.java:86)
> 
>     at 
> org.netbeans.modules.maven.NbMavenProjectImpl.(NbMavenProjectImpl.java:245)
> 
>     at 
> org.netbeans.modules.maven.NbMavenProjectFactory.loadProject(NbMavenProjectFactory.java:95)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
> 
>     at 
> org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
> 
>     at 
>