Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Install SWT-Examples via "Welcome"-Dialog results in NullPointerEx...(How to install SWT-Examples in Eclipse)
Install SWT-Examples via "Welcome"-Dialog results in NullPointerEx... [message #1009749] Fri, 15 February 2013 11:24 Go to next message
Martin Undiscovered is currently offline Martin Undiscovered
Messages: 3
Registered: February 2013
Junior Member
Because I'm new, this could well be a beginners error so I post it here and not in the dedicated SWT section (hope this is correct):

- Freshly installed Eclipse Juno (Eclipse IDE for Java EE Developers)
- Java JDK 7 update 13 installed
- both 32bit
- win 7 professional (64bit but doesn't matter)


If I click on "Workbench views and standalone applications" in the "Samples" section in the "Welcome" perspective, eclipse gives back a NullPointerException after asking to download and install the samples from eclipse.org.

Alternatively, I tried to install the examples manually, as described here

By:
- using the Update Manager (option 1) -> Failed because no "Eclipse SDK Examples" available for selection (like mentioned in step "5.")...

- downloading the Example Plug-In (org.eclipse.sdk.examples-4.2.1.zip) and unzip'ing it into eclipse/dropins folder as suggested in option 2.

This also doesn't work. The linked site suggests:

Quote:
You can verify that examples have been installed by looking for File > New > Example... in the workbench menu bar.


Unfortunately,
- there are no new examples available via that menu.
- the site does not make any suggestions how to trouble shoot this issues...


Any suggestions?

Thx
Martin
Re: Install SWT-Examples via "Welcome"-Dialog results in NullPointerEx... [message #1010604 is a reply to message #1009749] Sun, 17 February 2013 15:45 Go to previous message
Warren Postma is currently offline Warren Postma
Messages: 1
Registered: February 2013
Junior Member
I have the same issue. I wonder if a server is currently down or if you and I both have DNS issues with our ISP.

I'm on Mac OS X 10.8 with Java 1.6.0_37

eclipse.buildId=M20120914-1800
java.version=1.6.0_37
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/admin/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/admin/.eclipse_keyring -showlocation

Error
Sun Feb 17 15:39:08 EST 2013
Unable to read repository at http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/pde-ui-home/samples/.

org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/pde-ui-home/samples/.
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:128)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:412)
at org.eclipse.pde.internal.ui.samples.ShowSampleAction.findSampleIUs(ShowSampleAction.java:212)
at org.eclipse.pde.internal.ui.samples.ShowSampleAction.createInstallOperation(ShowSampleAction.java:221)
at org.eclipse.pde.internal.ui.samples.ShowSampleAction$2.run(ShowSampleAction.java:177)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.io.IOException: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/pde-ui-home/samples/ is not a valid repository location.
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:102)
... 10 more


Warren
Previous Topic:Can't Find Eclipse on PC
Next Topic:Is eclipse download site slow or what?
Goto Forum:
  


Current Time: Fri May 24 05:46:18 EDT 2013

Powered by FUDForum. Page generated in 0.04980 seconds