- This topic has 5 replies, 2 voices, and was last updated 11 years, 1 month ago by support-pradeep.
-
AuthorPosts
-
lywylbMemberwhen trying to open the graphical editor, it throws me an error:
An internal error occurred during: “Updating Struts 2 Model”.
java.lang.NullPointerExceptionlog file:
!ENTRY org.eclipse.core.jobs 4 2 2013-09-26 17:46:59.955
!MESSAGE An internal error occurred during: “Updating Struts 2 Model”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.struts2.model.Struts2Project.synchronize(Struts2Project.java:119)
at com.genuitec.eclipse.struts2.model.Struts2Project.access$1(Struts2Project.java:116)
at com.genuitec.eclipse.struts2.model.Struts2Project$StrutsModelJob.run(Struts2Project.java:539)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)!ENTRY com.genuitec.pulse.client.delivery.package.runtime 2 0 2013-09-26 17:47:24.237
!MESSAGE Encountered an error while contacting the server for updates
!STACK 0
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at com.genuitec.pulse.client.deliverypackage.runtime.UpdatesService.syncLatestPromotion(Unknown Source)
at com.genuitec.pulse.client.deliverypackage.runtime.UpdatesService.checkForUpdates(Unknown Source)
at com.genuitec.pulse.client.deliverypackage.runtime.ui.AbstractUpdatesJob.checkForSoftwareUpdates(Unknown Source)
at com.genuitec.pulse.client.deliverypackage.runtime.ui.OnIntervalUpdatesCheckJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
support-pradeepMemberlywylb,
Sorry that you are seeing this issue with MyEclipse.
Can you please answer some more questions to help us investigate further:
1) Can you please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?
2) Are you behind a firewall or proxy ? If yes then you have to set up your proxy details here – Window > Preferences > General > Network Connections and restart your IDE.
3) Are you trying to open a existing struts.xml file (or) a struts.xml file which is newly created ? If you are opening a existing file then create a new project and add struts capabilities and try opening struts.xml file which is created and check whether you see the same issue ?
4) Did you open the struts.xml config file in ‘MyEclipse struts 2 config editor’ ? If not, please mention the editor name.
5) Can you please switch to a new workspace and check whether you can replicate the issue there ?
6) Can you please try opening MyEclipse using the -clean command ? Please refer this FAQ for more details – https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
7) Clear the contents of the .log file located at <Workspace dir>/.metadata/.log, replicate the issue ( try opening the struts.xml file) and attach the .log file here.
lywylbMemberInstallation details:
*** Date:
Monday, 30 September 2013 14:02:40 o’clock SGT*** System properties:
OS=WindowsXP
OS version=5.1.0
OS arch=x86
Profile arch=x86
Window system=win32
Java version=1.6.0_13
Workspace=file:/F:/workspace/
VM Args=-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-Djava.class.path=C:\PROGRA~1\MYECLI~1\plugins/OR02A7~1.JAR*** Subscription information
Product Id: E3SP (Secure MyEclipse Professional Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20131019
Number of users: 450*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 10.7
Build id: 10.7-20121026Blueprint: N/A
com.genuitec.myeclipse.database – 10.7.0.me201211011550
com.genuitec.myeclipse.desktop – 10.7.0.me201211011550
com.genuitec.myeclipse.editor – 10.7.0.me201211011550
com.genuitec.myeclipse.enterprise.workbench – 10.7.0.me201211011550
com.genuitec.myeclipse.geronimo – 10.7.0.me201211011550
com.genuitec.myeclipse.glassfish – 10.7.0.me201211011550
com.genuitec.myeclipse.icefaces.feature – 10.7.0.me201211011550
com.genuitec.myeclipse.iedebugger – 10.7.0.me201211011550
com.genuitec.myeclipse.imageeditor – 10.7.0.me201211011550
com.genuitec.myeclipse.jboss – 10.7.0.me201211011550
com.genuitec.myeclipse.jetty – 10.7.0.me201211011550
com.genuitec.myeclipse.jonas – 10.7.0.me201211011550
com.genuitec.myeclipse.jrun – 10.7.0.me201211011550
com.genuitec.myeclipse.jsf – 10.7.0.me201211011550
com.genuitec.myeclipse.matisse – 10.7.0.me201211011550
com.genuitec.myeclipse.maven – 10.7.0.me201211011550
com.genuitec.myeclipse.oracle – 10.7.0.me201211011550
com.genuitec.myeclipse.orion – 10.7.0.me201211011550
com.genuitec.myeclipse.persistence – 10.7.0.me201211011550
com.genuitec.myeclipse.reports – 10.7.0.me201211011550
com.genuitec.myeclipse.resin – 10.7.0.me201211011550
com.genuitec.myeclipse.struts – 10.7.0.me201211011550
com.genuitec.myeclipse.sun – 10.7.0.me201211011550
com.genuitec.myeclipse.tomcat – 10.7.0.me201211011550
com.genuitec.myeclipse.uml2 – 10.7.0.me201211011550
com.genuitec.myeclipse.visualvm – 10.7.0.me201211011550
com.genuitec.myeclipse.visualvm.server – 10.7.0.me201211011550
com.genuitec.myeclipse.weblogic – 10.7.0.me201211011550
com.genuitec.myeclipse.websphere – 10.7.0.me201211011550
com.genuitec.myeclipse.ws – 10.7.0.me201211011550
org.eclipse.birt – 2.6.1.me201211011550
org.eclipse.datatools.connectivity.feature – 1.9.0.me201211011550
org.eclipse.datatools.enablement.feature – 1.9.0.me201211011550
org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201211011550
org.eclipse.emf – 2.7.0.v20110606-0949
org.eclipse.gef – 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
org.eclipse.graphiti.feature – 0.8.0.v20110607-1252
org.eclipse.jpt.jpa.feature – 3.0.0.me201211011550
org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201211011550
org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201211011550
org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201211011550
org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201211011550
org.eclipse.jst.server_adapters.feature – 3.2.100.me201211011550
org.eclipse.jst.server_ui.feature – 3.3.0.me201211011550
org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201211011550
org.eclipse.m2e.feature – 1.0.0.me201211011550
org.eclipse.sapphire.platform – 0.3.0.201106221325
org.eclipse.wst.common.fproj – 3.3.0.me201211011550
org.eclipse.wst.server_adapters.feature – 3.2.100.me201211011550
org.eclipse.xsd – 2.7.0.v20110606-0949
org.springframework.ide.eclipse.feature – 2.9.1.me201211011550com.perforce.team.c.galileo.feature – 2012.2.486944
com.perforce.team.feature – 2012.2.486944
com.perforce.team.folder.feature – 2012.2.486944
com.perforce.team.java.galileo.feature – 2012.2.486944
com.perforce.team.mergequest.feature – 2012.2.486944
com.perforce.team.patch.feature – 2012.2.486944
com.perforce.team.search.feature – 2012.2.486944
fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
jetbrains.teamcity.feature – 7.1.0.24074
jetbrains.teamcity.feature.codequality – 7.1.0.24074
org.eclipse.cdt – 8.0.2.201202111925
org.eclipse.cdt.gdb – 7.0.0.201202111925
org.eclipse.cdt.gnu.build – 8.0.2.201202111925
org.eclipse.cdt.gnu.debug – 7.1.1.201202111925
org.eclipse.cdt.gnu.dsf – 4.0.1.201202111925
org.eclipse.cdt.platform – 8.0.2.201202111925
org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
org.eclipse.draw2d – 3.7.0.v20110425-2050-46-7w3122153603161
org.eclipse.epp.mpc – 1.1.1.I20110907-0947
org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
org.eclipse.equinox.p2.discovery.feature – 1.0.101.R37x_v20110909-4-8_9oB5885K5B28WKK
org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
org.eclipse.jsf.feature – 3.3.0.me201211011550
org.eclipse.ocl – 3.1.0.v20110606-1427
org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
org.eclipse.team.svn – 0.7.9.I20110819-1700
org.epic.feature.main – 0.5.46
org.freejava.dependencyviewer.feature – 1.0.0.0
org.tigris.subversion.clientadapter.feature – 1.8.3
org.tigris.subversion.clientadapter.javahl.feature – 1.7.7
org.tigris.subversion.clientadapter.svnkit.feature – 1.7.5.1
org.tigris.subversion.subclipse – 1.8.16Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse IDE Pro 10_07\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\MyEclipse IDE Pro 10_07\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\Program Files\MyEclipse IDE Pro 10_07\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-install
C:\Program Files\MyEclipse IDE Pro 10_07
-vm
C:\Program Files\MyEclipse IDE Pro 10_07\binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
lywylbMemberI was trying to open struts.xml in a project i checked out from SVN.
When i try create new project with struts capaility, there is no problem with the GUI editor.
lywylbMember!SESSION 2013-09-30 14:23:16.056 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:27.744
!MESSAGE GSDC: Configuration directory exists at C:\Program Files\MyEclipse IDE Pro 10_07\configuration\com.genuitec.myeclipse!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:27.775
!MESSAGE GSDC: Secure configuration file exists at C:\Program Files\MyEclipse IDE Pro 10_07\configuration\com.genuitec.myeclipse\myeclipse.secure.activation!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:27.822
!MESSAGE GSDC: Secure mode is active.!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:29.134
!MESSAGE Activation via Proxy: Proxy does not appear to exist. Will attempt to activate using a direct connection.!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:29.759
!MESSAGE Activation successful using a direct connection.!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:29.791
!MESSAGE GSDC: MyEclipse subscription has just been activated successfully by the GSDC server.!ENTRY com.genuitec.eclipse.core 1 0 2013-09-30 14:23:29.822
!MESSAGE GSDC: Activation results stored successfully. Activated key is: ZLR8FC-855905-686564-285932142!ENTRY com.perforce.team.core 2 0 2013-09-30 14:23:33.712
!MESSAGE unable to get manifest version attribute: Not running from jar file: bundleresource://189.fwk16053322:1/com/perforce/p4java/Metadata.class!ENTRY com.perforce.team.core 2 0 2013-09-30 14:23:33.791
!MESSAGE unable to get manifest date attribute: Not running from jar file: bundleresource://189.fwk16053322:1/com/perforce/p4java/Metadata.class!ENTRY com.perforce.team.core 1 0 2013-09-30 14:23:33.853
!MESSAGE P4Java server factory loaded; version: Internal 2010.1 Perforce Development; date: unknown!ENTRY com.perforce.team.core 1 0 2013-09-30 14:23:33.900
!MESSAGE Using default charset: windows-1252; JVM charset: windows-1252!ENTRY com.perforce.team.core 1 0 2013-09-30 14:23:33.978
!MESSAGE initializing system file command helper class: java.io.File!ENTRY com.perforce.team.core 1 0 2013-09-30 14:23:34.041
!MESSAGE Using default RPC system file command helper: com.perforce.p4java.impl.mapbased.rpc.sys.helper.RpcSystemFileCommandsHelper!ENTRY com.perforce.team.core 1 0 2013-09-30 14:23:34.119
Below is the log for replicating the issue:!MESSAGE setting RPC system file helper to class com.perforce.team.core.p4java.P4JavaSysFileCommandsHelper
!ENTRY org.eclipse.core.jobs 4 2 2013-09-30 14:23:36.275
!MESSAGE An internal error occurred during: “Updating Struts 2 Model”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.struts2.model.Struts2Project.synchronize(Struts2Project.java:119)
at com.genuitec.eclipse.struts2.model.Struts2Project.access$1(Struts2Project.java:116)
at com.genuitec.eclipse.struts2.model.Struts2Project$StrutsModelJob.run(Struts2Project.java:539)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
support-pradeepMemberlywylb,
Thanks for the details provided. We could not replicate the issue after opening the struts.xml file which was checked out from SVN repository.
If possible, can you please send us the project which exhibits this issue ? If you can’t send the source, then please strip the project of its source and send us struts.xml file and all the .* files (.project, .classpath, .mymetadata, .settings folders) of the project for further investigation.
To edit the struts.xml file in the meantime, can you please check whether you can open the struts.xml file with XML and/or text editors ?
-
AuthorPosts