NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

[platform-dev] VisualVM 1.3.3 / 1.3.4 often fails in looking up a Platform based app with OpenJDK 7u4, Mac OS X

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Fabrizio Giudici
Posted via mailing list.





PostPosted: Thu May 17, 2012 10:46 pm    Post subject: [platform-dev] VisualVM 1.3.3 / 1.3.4 often fails in looking up a Platform based app with OpenJDK 7u4, Mac OS X Reply with quote

I'm running an application which is based on the Platform and embeds
OpenJDK 7u4 for Mac OS X. When I launch VisualVM (1.3.3 or 1.3.4), often
it doesn't see the process under "Local" (but sometimes it does). VisuamVM
runs with Apple JDK 1.6, but I think that it shouldn't matter. When
VisualVM doesn't see my app there's an exception in the status bar:

java.lang.NullPointerException
at
com.sun.tools.visualvm.application.type.NetBeansApplicationType.getVersionFromSysProps(NetBeansApplicationType.java:132)
at
com.sun.tools.visualvm.application.type.NetBeansApplicationType.getVersion(NetBeansApplicationType.java:9Cool
at
com.sun.tools.visualvm.application.type.NetBeansApplicationType.getName(NetBeansApplicationType.java:77)
at
com.sun.tools.visualvm.application.ApplicationDescriptor.resolveApplicationName(ApplicationDescriptor.java:136)
at
com.sun.tools.visualvm.application.ApplicationDescriptor.<init>(ApplicationDescriptor.java:74)
at
com.sun.tools.visualvm.application.ApplicationDescriptor.<init>(ApplicationDescriptor.java:55)
at
com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:43)
at
com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:3Cool
at
com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:111)
at
com.sun.tools.visualvm.core.datasource.descriptor.DataSourceDescriptorFactory.getDescriptor(DataSourceDescriptorFactory.java:69)
at
com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDisplayableDataSources(ExplorerModelBuilder.java:152)
at
com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processIndependentAddedDataSources(ExplorerModelBuilder.java:116)
at
com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDataSources(ExplorerModelBuilder.java:105)
at
com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.access$200(ExplorerModelBuilder.java:59)
at
com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1.run(ExplorerModelBuilder.java:9Cool
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)


Any hint?


--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
address-removed
http://tidalwave.it - http://fabriziogiudici.it
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo