NetBeans Forums

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

Cannot generate Remote Pack

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Thu Mar 12, 2009 4:48 pm    Post subject: Cannot generate Remote Pack Reply with quote

I'm trying to set-up a remote profiling session using NetBeans 6.5. I get to the part when I have to press the "Generate Remote Pack" button and I select a folder from the resulting dialog box to save it in. No file is generated, and when I check the ide.log it says the following:-

SEVERE [org.openide.util.RequestProcessor]
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.profiler.attach.providers.RemotePackExporter$Singleton
at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.getInstance(RemotePackExporter.java:91)
at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanel$Model.exportRemotePack(ManualIntegrationPanel.java:121)
at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanelUI$2.run(ManualIntegrationPanelUI.java:164)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

Can anyone help me get it to work correctly?

Thanks
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Thu Mar 12, 2009 5:13 pm    Post subject: Cannot generate Remote Pack Reply with quote

Hi,

On 12 Mar 2009, at 17:48, razorkai wrote:

Quote:
I'm trying to set-up a remote profiling session using NetBeans 6.5.
I get to the part when I have to press the "Generate Remote Pack"
button and I select a folder from the resulting dialog box to save
it in. No file is generated, and when I check the ide.log it says
the following:-

SEVERE [org.openide.util.RequestProcessor]

java.lang.NoClassDefFoundError: Could not initialize class
org.netbeans.modules.profiler.attach.providers.RemotePackExporter
$Singleton
at
org
.netbeans
.modules
.profiler
.attach
.providers.RemotePackExporter.getInstance(RemotePackExporter.java:91)
at
org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanel
$Model.exportRemotePack(ManualIntegrationPanel.java:121)
at
org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanelUI
$2.run(ManualIntegrationPanelUI.java:164)
at org.openide.util.RequestProcessor
$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor
$Processor.run(RequestProcessor.java:997)

Is there any thread dump before this java.lang.NoClassDefFoundError?
It should provide information why
org.netbeans.modules.profiler.attach.providers.RemotePackExporter
$Singleton cannot be initialized.


Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic




---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 8:59 am    Post subject: Reply with quote

Hi Tomas

No, there is no further information other than what I posted.
Back to top
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 10:19 am    Post subject: Reply with quote

I just rebooted and have found that the very first time I attempt to use the button I get this error:-

SEVERE [org.openide.util.RequestProcessor]

java.lang.NullPointerException: The file parameter cannot be null
at org.openide.util.Parameters.notNull(Parameters.java:86)
at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:645)
at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.<init>(RemotePackExporter.java:97)
at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.<init>(RemotePackExporter.java:61)
at org.netbeans.modules.profiler.attach.providers.RemotePackExporter$Singleton.<clinit>(RemotePackExporter.java:65)
Caused: java.lang.ExceptionInInitializerError
at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.getInstance(RemotePackExporter.java:91)
at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanel$Model.exportRemotePack(ManualIntegrationPanel.java:121)
at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanelUI$2.run(ManualIntegrationPanelUI.java:164)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

After that I always get just the text in my original post.
Back to top
Jaroslav Bachorik
Posted via mailing list.





PostPosted: Mon Mar 16, 2009 11:04 am    Post subject: Cannot generate Remote Pack Reply with quote

Well, now the reason is obvious. You are missing the "build.xml" file
required to build the remote pack. The question remains, why it is not
there.

Could you verify that there is "<nb_install>/profiler/remote-packs-defs"
folder on your computer?

If it's not there the only way to get it back would be to reinstall the
IDE, I'm afraid.

Regards

On Mon, 2009-03-16 at 10:19 +0000, razorkai wrote:
Quote:
I just rebooted and have found that the very first time I attempt to use the button I get this error:-



SEVERE [org.openide.util.RequestProcessor]



java.lang.NullPointerException: The file parameter cannot be null

at org.openide.util.Parameters.notNull(Parameters.java:86)

at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:645)

at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.<init>(RemotePackExporter.java:97)

at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.<init>(RemotePackExporter.java:61)

at org.netbeans.modules.profiler.attach.providers.RemotePackExporter$Singleton.<clinit>(RemotePackExporter.java:65)

Caused: java.lang.ExceptionInInitializerError

at org.netbeans.modules.profiler.attach.providers.RemotePackExporter.getInstance(RemotePackExporter.java:91)

at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanel$Model.exportRemotePack(ManualIntegrationPanel.java:121)

at org.netbeans.modules.profiler.attach.panels.ManualIntegrationPanelUI$2.run(ManualIntegrationPanelUI.java:164)

at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)

[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)



After that I always get just the text in my original post.





---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed

--
Jaroslav Bachorik <address-removed>


---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 11:44 am    Post subject: Reply with quote

I have a "<nb_install>/profiler3/remote-packs-defs" folder present, but it is empty.

It may be relevant that I also had an issue with the profiler not working locally due to the profilerinterface.dll and profileinterface.map files not being present in folder

C:\Program Files\NetBeans 6.5\profiler3\lib\deployed\jdk16\windows

I copied them from my 6.1 installation as directed in an article I found online, and that fixed the issue.
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Mon Mar 16, 2009 12:44 pm    Post subject: Cannot generate Remote Pack Reply with quote

On 16 Mar 2009, at 12:44, razorkai wrote:

Quote:
I have a "<nb_install>/profiler3/remote-packs-defs" folder present,
but it is empty.

It may be relevant that I also had an issue with the profiler not
working locally due to the profilerinterface.dll and
profileinterface.map files not being present in folder

C:\Program Files\NetBeans 6.5\profiler3\lib\deployed\jdk16\windows

I copied them from my 6.1 installation as directed in an article I
found online, and that fixed the issue.

^^^^^^^^^^^^^^^^^
You mean 6.5, right?

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic




---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 1:25 pm    Post subject: Reply with quote

No, I mean 6.5 I copied the missing profiler files from my NetBeans 6.1 folders to the same folders in my NetBeans 6.5 installation. The files were missing, so where else could I get them from. I am not the only one to have this issue, as I found a post from someone else that gave me this solution.
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Mon Mar 16, 2009 2:31 pm    Post subject: Cannot generate Remote Pack Reply with quote

On 16 Mar 2009, at 14:26, razorkai wrote:

Quote:
No, I mean 6.5 I copied the missing profiler files from my NetBeans
6.1 folders to the same folders in my NetBeans 6.5 installation.
This is not a good idea to mix files from 6.1 and 6.5.

Quote:
The files were missing, so where else could I get them from.
There are two possibilities. Reinstall NB 6.5 and re-apply the update,
or you can
1) quit netneans 6.5
2) manually delete netbeans/profiler3 directory
3) start netbeans (profiler will not be there)
4) go to Tool-> Plugins and install 'Java Profiler' module.

Quote:
I am not the only one to have this issue, as I found a post from
someone else that gave me this solution.

Yes, I saw that there are people are missing some jars in NetBeans
installation after Patch2 update, taking those files from NB 6.1 is
generally bad idea.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic


---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
razorkai



Joined: 12 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 2:58 pm    Post subject: Reply with quote

I used the reinstall plugin root and it all works great now, thanks for the help!
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Mon Mar 16, 2009 3:16 pm    Post subject: Cannot generate Remote Pack Reply with quote

On 16 Mar 2009, at 15:58, razorkai wrote:

Quote:
I used the reinstall plugin root and it all works great now, thanks
for the help!
You are welcome.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic




---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
axix245



Joined: 08 May 2012
Posts: 2

PostPosted: Tue May 08, 2012 8:15 am    Post subject: Reply with quote

I'm confuse in reinstall plugin root because of any new error...
Back to top
programmingservices



Joined: 18 Jun 2012
Posts: 2

PostPosted: Mon Jun 18, 2012 12:03 pm    Post subject: Reply with quote

Jaroslav Bachorik, Thank You! I found this very useful for me. Contributions like this help to develop a good understanding about the subject and gain a detailed insight of it. Further Novices like me get to bud themselves to advance and stay upfront in the cold & competitive industry. Please, Keep on Sharing.

programming services | outsourcing programming | programming outsourcing
Back to top
Lorraineyyt



Joined: 04 Aug 2012
Posts: 1

PostPosted: Sat Aug 04, 2012 2:58 am    Post subject: Thanks Reply with quote

Thank you to tell the couple of these !
Back to top
tifenni



Joined: 04 Aug 2012
Posts: 3

PostPosted: Sat Aug 04, 2012 5:42 am    Post subject: Reply with quote

To see a WOW Gold or Buy RS Gold world in a granda of stand.And a heaven in a wild flower.Hold infinity in the palm your hand and eternity in an hour.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler 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