Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
DragonMan
Post subject: Create Web Services Project null pointer exception  PostPosted: Mar 04, 2010 - 11:13 PM



Joined: Nov 10, 2009
Posts: 7

I am using MyEclipse 7.5 Blue edition and wanted to go through the Web Services tutorial. Whenever I try to create a new Web Services Project I get a null pointer exception.

Please advise where to find error log so that I can provide more details.

I urgently need to develop a WebService so would appreciate a speedy response.

Cheers

Jim
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Create Web Services Project null pointer exception  PostPosted: Mar 05, 2010 - 05:05 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Jim,
Quote:

where to find error log so that I can provide more details.

Log file is located at workspace dir > .metadata > .log.
Can you copy paste your installation details from MyEclipse > Installation Summary> Installation Details?
Also, can you switch to a new workspace and check if the issue persists?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
DragonMan
Post subject:   PostPosted: Mar 07, 2010 - 09:28 PM



Joined: Nov 10, 2009
Posts: 7

Hi Shalini,

Below is the installation summary.

Following that is the full .log from a brand new workspace where I have selected "New Project ...", then highlighted Web Service Project and hit next.

If I double click Web Services Project instead of using next button I get the error shown in the second log extract.

*** Date:
Monday, 8 March 2010 8:27:47 AM EST

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Blue Edition
Version: 7.5 Blue
Build id: 7.5-Blue-20090609


*** Eclipse details:
MyEclipse Blue Edition

Version: 7.5 Blue
Build id: 7.5-Blue-20090609




Eclipse Plug-in Development Environment

Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
Build id: M20080703-0800


Eclipse Graphical Editing Framework GEF

Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
Build id: 200902181337


Eclipse RCP

Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
Build id: M20090211-1700


Eclipse Java Development Tools

Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Build id: M20090211-1700




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.5 Blue\myeclipse-blue.exe
-name
Myeclipse-blue
--launcher.library
C:\Program Files\Genuitec\MyEclipse 7.5 Blue\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.5 Blue\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll



-----------------------------------------------------------------------------------------------------------
L O G F R O M N E W W E B S E R V I C E P R O J E C T
!SESSION 2010-03-08 08:08:51.687 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.equinox.p2.core 4 0 2010-03-08 08:11:49.406
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Unable to read repository at file:/C:/Program Files/Genuitec/MyEclipse 7.5 Blue/configuration/org.eclipse.osgi/bundles/473/data/listener_1925729951/.
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.load(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeArtifactRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
Caused by: java.io.FileNotFoundException: C:\Program Files\Genuitec\MyEclipse 7.5 Blue\configuration\org.eclipse.osgi\bundles3\data\listener_1925729951\artifacts.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
... 22 more
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 1000 2010-03-08 08:11:49.406
!MESSAGE Unable to read repository at file:/C:/Program Files/Genuitec/MyEclipse 7.5 Blue/configuration/org.eclipse.osgi/bundles/473/data/listener_1925729951/.
!STACK 0
java.io.FileNotFoundException: C:\Program Files\Genuitec\MyEclipse 7.5 Blue\configuration\org.eclipse.osgi\bundles3\data\listener_1925729951\artifacts.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.load(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeArtifactRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.equinox.p2.core 4 0 2010-03-08 08:11:49.484
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException: Unable to read repository at file:/C:/Program Files/Genuitec/MyEclipse 7.5 Blue/configuration/org.eclipse.osgi/bundles/473/data/listener_1925729951/.
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.load(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.createRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeArtifactRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
Caused by: java.io.FileNotFoundException: C:\Program Files\Genuitec\MyEclipse 7.5 Blue\configuration\org.eclipse.osgi\bundles3\data\listener_1925729951\artifacts.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
... 22 more
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 1000 2010-03-08 08:11:49.484
!MESSAGE Unable to read repository at file:/C:/Program Files/Genuitec/MyEclipse 7.5 Blue/configuration/org.eclipse.osgi/bundles/473/data/listener_1925729951/.
!STACK 0
java.io.FileNotFoundException: C:\Program Files\Genuitec\MyEclipse 7.5 Blue\configuration\org.eclipse.osgi\bundles3\data\listener_1925729951\artifacts.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.eclipse.equinox.internal.provisional.spi.p2.artifact.repository.SimpleArtifactRepositoryFactory.load(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(Unknown Source)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.createRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeArtifactRepository(Unknown Source)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Unknown Source)
at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)

!ENTRY org.eclipse.jface 2 0 2010-03-08 08:12:38.515
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-03-08 08:12:38.515
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@18ae796,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,remove from Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)

!ENTRY com.genuitec.eclipse.wizards 1 0 2010-03-08 08:13:09.046
!MESSAGE Installed snippet library: C:\Program Files\Genuitec\MyEclipse 7.5 Blue\configuration\org.eclipse.osgi\bundles8
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject:   PostPosted: Mar 08, 2010 - 06:58 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Can you try using -clean as mentioned in the link below -
http://myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

Let me know if that works for you.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
DragonMan
Post subject:   PostPosted: Mar 08, 2010 - 09:58 PM



Joined: Nov 10, 2009
Posts: 7

Hi Shalini,

Tried "-clean" option on startup and unfortunately still got the same null pointer abend trying to create a WebServices project.

Cheers

Jim
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject:   PostPosted: Mar 09, 2010 - 06:32 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Jim,
Can you try using pulse?
The following are the steps.
1. Download pulse from poweredbypulse.com.
2. Open pulse explorer and login anonymously.
3. Your profile should be listed under MyProfiles in the left pane. Select your profile. Right click and from the context menu select "Re-install and Run"
Pulse will automatically resolve any conflicts.
Let me know if that helps.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
DragonMan
Post subject:   PostPosted: Mar 09, 2010 - 09:18 PM



Joined: Nov 10, 2009
Posts: 7

Morning Shalini,

I had problems running Pulse due to company firewalls so I bit the bullet, deleting the Genutec directory in Program FIles to remove MyEclipse and re-installing from the original installation file.

This seems to have done the trick and things are working again now - I have no idea how the original installation could have got corrupted.

Anyway, thanks for your help.

Cheers

Jim
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject:   PostPosted: Mar 10, 2010 - 04:09 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Jim,
Good to know that you all set.
Do let us know if you have any issues.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
lhale
Post subject: Adding xfire web services capability to existing project  PostPosted: May 02, 2010 - 08:41 PM
Veteran Member
Veteran Member


Joined: Dec 28, 2004
Posts: 52

I'm building top-down web services into an existing Web application project via your tutorial:

http://www.myeclipseide.com/documentation/quickstarts/webservices_overview/#Project_Capabilities

Not a bad tutorial lso far, but it left my web.xml completely un-runnable. Here's the top content changed while ading the xfire web services capability:

Quote:

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

<javaee:display-name>Messaging Proxy Web Application</javaee:display-name>
<servlet>
<servlet-name>Spring MVC Servlet</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<javaee:param-name>contextConfigLocation</javaee:param-name>
<javaee:param-value>/WEB-INF/application-config.xml
classpath:applicationContext-business.xml</javaee:param-value>
</init-param>
<init-param>
<javaee:param-name>log4jConfigLocation</javaee:param-name>
<javaee:param-value>/WEB-INF/classes/log4j.properties</javaee:param-value>
</init-param>


The newly added javaee namespace definition and tags are the culprit.
What do I need to do to now support these new tags added by your tool?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits