facebook

NullPointerException Initializing TargetCfg

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #296436 Reply

    nsoule
    Member

    About 50% of the time I start the IDE I get a popup saying “Initializing TargetCfg has encountered a problem”. When I click the Details button it just says there was a NullPointerException. I can close this and go about my work without issue at that point.

    Perhaps related to this (perhaps not), about 50% of the time I’m also not prompted to select a workspace when I open the IDE (despite the setting being set to prompt in the preferences). The IDE just opens to some workspace that is not the last one I used (or any that I have used in recent starts). I have to then switch the workspace (and hope it pays attention this time) in order to get to the correct one.

    Thanks very much for any info you might have.

    #296441 Reply

    Loyal Water
    Member

    The first thing that comes to my mind is that your workspace could be corrupt. Can you try using the -clean command and check if that helps resolve this issue:-
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    If you switch to a brand new workspace, do you face the same issue?

    Can you paste your installation details (MyEclipse > Installation Summary > Installation Details) here for me.

    #296469 Reply

    nsoule
    Member

    Hi thanks for the reply. I’ve changed my shortcut to use -clean, but out of 3 attempts at opening the IDE 1 of them still showed the error message. Other users at my company are also experiencing the same errors. I’ve pasted the installation details below (you may notice the vm entry references javaw.exe rather than jvm.dll – this was a temporary change I just made to try and address an SSL error I’ve been seeing. This NullPointerException error was happening before I made that change.) Let me know if I can provide any other details.

    Thanks.

    *** Date:
    Friday, March 20, 2009 4:22:35 PM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 7.1 Blue
    Build id: 7.1-Blue-20090306

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 7.1 Blue
    Build id: 7.1-Blue-20090306

    Eclipse Platform

    Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
    Build id: M20080911-1700

    Eclipse Java Development Tools

    Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
    Build id: M20080709-0800

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
    Build id: M20080703-0800

    Eclipse Plug-in Development Environment

    Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
    Build id: M20080703-0800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 7.1 Blue Edition\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse 7.1 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 7.1 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -exitdata
    c44_44
    -clean
    -configuration
    C:\Program Files\Genuitec\MyEclipse 7.1 Blue Edition\configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\javaw.exe

    #296470 Reply

    nsoule
    Member

    Also, I’ve noted that the workspace opening without prompting me issue happens independently of the NullPointerException.

    Thanks.

    #296875 Reply

    I found this in the .log file, which appears to be related to this issue:

    !ENTRY org.eclipse.core.jobs 4 2 2009-03-20 13:39:21.591
    !MESSAGE An internal error occurred during: “Initializing TargetCfg”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.pulse2.client.targetcfg.ui.jobs.InitializeTargetCfgJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    #306722 Reply

    daizhongde
    Participant

    OS: Windows 7 Ultimate Edition
    Myeclipse 8.0
    After I Installed Myeclipse About 1 hours,window prompt this program install not correct.
    but I can use it.
    and when I start this program ,it prompt ‘ “Initializing TargetCfg” has encountered a problem’
    An internal error occurred during: “Initializing TargetCfg”.

    #309604 Reply

    Jeff Kish
    Member

    I am also having this error everytime I switch workspaces or start MyEclipse.
    I am using:
    MyEclipse Enterprise Workbench

    Version: 8.5
    Build id: 8.5-20100319

    Jeff

    #310667 Reply

    syedali
    Member

    I had the same error everytime with windows7 and MyEclipse Enterprise workbench version 8.5

    Solution was your workspace has chache probelm. You need to run the following command in command prompt in MyEclipse directory

    myexplorer.exe -clean

    SyedAli

    #310729 Reply

    Jeff Kish
    Member

    interesting.. myexplorer.exe -clean, eh? ok I’ll remember that. thanks

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: NullPointerException Initializing TargetCfg

You must be logged in to post in the forum log in