Error while Debugging

public static void main(String[] args) throws java.io.FileNotFoundException,
      java.io.IOException,
      java.lang.InterruptedException {
    fileName = new String(args[args.length-1]);
    // set up the parser and scanner with the appropriate file
    // name
    FileReader aslFile = new FileReader(fileName);
    NolifeScanner scanner = new NolifeScanner(aslFile);
    NolifeParser parser = new NolifeParser(scanner);hi all,
I am debugging a java program in Eclipse 3.2.1 in debug perspective.
When I'm just running the program it's fine. But when I'm launching the debugger, and trying to step into the NoLifeParser() it stops and shows me the error message like this:
ClassLoader.class
Source not found
The source attachment does not contain the source for the ClassLoader.class
You can change the source attachment by clicking Change Attached Source below:
BUTTON
and then the source code for ClassLoader class.
Please help, I'm struggling =(
Thanks in advance,....!!

package frontend;
import java.io.FileReader;
import frontend.ast.*;
import frontend.parser.*;
* This class contains the main routine for the Nolife compiler. It
* the scanner and parser and then processes the input file.
public class Nolife {
  public static String fileName=null ; // the name of the input file
  public static boolean generateInterpreterCode = false;
   * @return the input file name
  static String getFileName() {
    return fileName;
   * The main routine for compiling and Nolife program
   * @param args the command-line arguments
* @param args
* @throws java.io.FileNotFoundException
* @throws java.io.IOException
* @throws java.lang.InterruptedException
public static void main(String[] args) throws java.io.FileNotFoundException,
      java.io.IOException,
      java.lang.InterruptedException {
    fileName = new String(args[args.length-1]);
    // set up the parser and scanner with the appropriate file
    // name
    FileReader aslFile = new FileReader(fileName);
    NolifeScanner scanner = new NolifeScanner(aslFile);
    NolifeParser parser = new NolifeParser(scanner);
    boolean error = false;
    // parse the input file and return the intermediate
    ProgramNode prog = null;
    try {
      prog = parser.program();
    catch (antlr.SemanticException e) {
      System.err.println("Semantic Error: " + e);
      error = true;
    catch (antlr.RecognitionException e) {
      System.err.println("Syntax Error: " + e);
      error = true;
    catch (antlr.TokenStreamException e) {
      System.err.println("Syntax Error: " + e);
      error = true;
    if (error) {
      System.exit( -1);
    AbstractSyntaxTree ast = new AbstractSyntaxTree(prog);
    ast.typeCheck();
    if (AbstractSyntaxTree.error)
      System.exit(-1);
}

Similar Messages

  • Error while debugging in NWDS

    Hi,
    I am getting a "source not found" error while debugging in NWDS.
    I put a break point in a particular class, but it never gets hit, instead I get an error saying "source is not found".
    I have tried rebuilding, deploying and even starting the IDE but nothing works.
    Can anybody help me here.
    Regards
    Arvind

    Hi Arvind,
    1) Have you set debug on in the server?
         If not you need to on debug on SAP-J2EE engine(For web applications).
    2) If that is a pure java class then it will work.
    Regards,
    Devender V

  • Error While Debugging the Application

    Hello,
    I am developing applications using WebDynpro  for JAVA.
    I am using NWDI 7.0.
    I am getting an error while debugging the application. When I click on debug mode in debug perspective, I am getting error message as :
    "Failed to connect to remote VM. Connection refused"
    Could any one of you help in resolving this error?
    Thanks and regards,
    Pradnya

    Hi,
    I think NWDI has nothing to do with debugging the application.
    Probably you will get some answers in WebDynpro java forum
    -Ashutosh

  • Source Not Found Error while Debugging

    Hello,
    I get annoying Errors while debugging a midlet. I reinstalled all programms an created a new midlet suite + midlet but the error is still there and the Midlet doesnt start.
    i got Eclipse Version: 3.2.2, Eclipse ME 1.6.6, the newest WTK 2.5 and java.vm.version=1.6.0-b105.
    I configured everything like www.eclipseme.org says it would be correct.
    Running a Midlet works fine.
    The bug opens an Helper.class file which says:
    Class File Editor: Source not found: "The Jar of this classfile belongs to the container J2ME library [ Sun Java (TM) Wireless Toolkit 2.5 for CLDC/MediaControl]. To configure the source attachment, go directly to the corresponding configuration page (For example for JRE go to 'Installed JRE#s page in references).
    Any clou how to fix this?? I need to debug my midlet :-/
    THANKS!
    Byby
    pako

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

  • ERROR while debugging a SELECT..ENDSELECT

    Hello All,
    We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.
    This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?
    Thanks!!
    Regards,
    Vishal

    Hi,
      debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.
    See OSS notes 675, 2104.
    From OSS note 675 **********************************
    Cause and prerequisites
    Chain of causes:
          1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).
          2. A database Commit causes the database to lose the cursor.
          3. The system cannot automatically continue within Select loop after loss of cursor.
    Following statements lead to a database Commit:
        * All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)
        * BREAK-POINT/ Debugging
          . if no debug process free
          . always after regeneration (in order to release generation lock).
        * WAIT Here a work process is released and a Commit is executed.
        * COMMIT WORK/ROLLBACK WORK
    From OSS note 2104 **********************************
    Solution
    The "COMMITWORK" message appears in the ABAP debugger when programs
    orscreensrequireregeneration,or when not enough free capacity
    is available inthesystem (or else the debugger blocks a system
    process).
    Normallyonly one work process is released for debugging. This
    isgenerally insufficient ina developmentsystem, as processes
    can be blocked for other reasonstoo(background processing,
    CPI-C connections,andso on).
    The number of work processes made available for debugging can
    be configured using the profileparameter
                      rdisp/wpdbug_max_no
    Forexample:
                    rdisp/wpdbug_max_no = 10
    setsthe maximum number of work processes made available for
    debuggingto 10. It may be necessary to generally increase the
    numberofwork processesatthis time (parameter rdisp/wp_no_dia).
    In all other known cases, an error in the application program is
    involved.
    Regards, Manuel

  • Error while debuging form

    Dear All,
    I tried to debug some forms 10g that has been created in 6i,but i got the following error message while debuging...
    FRM-30454: Unsupported item type.
    Item: OLE_CONTROL51
    Block: B2
    Form: STRMAIN
    FRM-30085: Unable to adjust form for output.
    Please provide me with some solution...
    Thanks and regards
    Monoj

    Hi
    apparently u r using but this item type is considered is considered obsolete item no longer supported in forms 10.
    You would need to use CLIENT_OLE in the webutil package to launch e.g. Word and etc.
    It is documented in oracle regarding Migrating Client-Server Applications to the Web
    Instead, use JavaBeans to duplicate functionality in the user interface. Any other Microsoft Windows user interface dependencies should also be replaced with JavaBeans. You can also use WebUtil to restore some of these functions.
    Hope this helps...
    Regards,
    Amatu Allah

  • Error while debugging a FM to get pricing condition details

    Hi,
    when debugging the FM PRC_PD_HEAD_SHOW ( SPC_GET_PRICING_CONDITIONS ) to get the pricing condition details i am getting an error java debugging back end on sapdevsystem is waiting for port 8003.
    Is this bcoz java not properly installed in my system. Can anybody pls tell me how to solve this issue.
    Thanks,
    Leena

    Did not get any answer.. so found all the dates by particular tables a*** from pricing.

  • Error while debugging an application

    Hi all,
    I am facing this issue in jdeveloper 11.1.1.6 when I am trying to run in a debug mode. The page does'nt even show up and in the jdeveloper log I can see the below error message.
    ]] Root cause of ServletException.
    java.lang.InternalError: name is too long to represent
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.servlet.jsp.JspClassLoader.findClass(JspClassLoader.java:48)
         at weblogic.servlet.jsp.JspClassLoader.loadClass(JspClassLoader.java:33)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:531)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:281)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = arti-HP TXID = CONTEXTID = f6ef983f54a76485:7483abb2:13876769704:-8000-0000000000000084 TIMESTAMP = 1342017390348
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    Can someone please let me know what might be wrong? I checked the managed beans method names and also the VO,EO names they are not too long.

    There are a couple of reasons why you get this error. Not enough memory is one of them, as there are a couple of other possibilities (like a bug).
    google for 'java.lang.InternalError: name is too long to represent' and you find some possible solutions...
    Timo

  • Error while debugging the Oracle Stored Proc Body

    I am trying to debug a standalone Oracle Stored Proc. I keep a break point on the Package body, and JDeveloper doesn't seem to pick it up at all. I have made sure that are the prerequisites are met and all the instructions have been followed diligently, but still i keep getting this error message:
    Unable to set breakpoint (C:\Program Files\JDeveloper\jdev\mywork\ADReports\ADReportsProject\packagebody staging.staging_reports.sql 57), unable to resolve Java package.
    The Debugger doesn't seem to stop at the specified break point in the package body. Though it does connect to the DB, and shows all the data values inside the procs, and other stuff as mentioned in the debug tutorial/manual.
    Some replied to my previous post saying that it was a bug with the JDeveloper itself and it has been fixed, so if this is the case, can someone point me to the right place where we can download the bug free version.
    Thanks in advance

    Hi,
    Please see:
    PL/SQL Debugging does not stop on breakpoint
    - Mark

  • Error while debugging AIR for IOS app

    I get the following error when attempting to debug my AIR-IOS app on an IPad 2.
    The weird thing is that the logfile mentioned does not exist.
    Any ideas?
    - Abey
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x764db9bc, pid=5400, tid=9024
    # JRE version: 6.0_29-b11
    # Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [KERNELBASE.dll+0xb9bc]
    # An error report file with more information is saved as:
    # C:\Users\ABEY~1.LEX\AppData\Local\Temp\AOT1326388929076\hs_err_pid5400.log

    I have the same error.
    The wierd is that the log file doesn't exists.
    Anyway I try everything... to reinstal my Flash Builder, reinstall all versions of java. I even try to make Xmx and Xms bigger size.. but nothing... still got the error.
    If I create new project... then everything works fine... Export Release Build work very well,
    but if I try to Export Release Build for my large project... then this error comes up.
    I look at my code and no find any errors...
    Build for android works as well, the error comes up when I try to build for iOS.
    Please Adobe - give us help how to fix this.
    Thank you

  • Error while debugging in eclipse

    public static void main(String[] args) throws java.io.FileNotFoundException,
          java.io.IOException,
          java.lang.InterruptedException {
        fileName = new String(args[args.length-1]);
        // set up the parser and scanner with the appropriate file
        // name
        FileReader aslFile = new FileReader(fileName);
        NolifeScanner scanner = new NolifeScanner(aslFile);
        NolifeParser parser = new NolifeParser(scanner);hi all,
    I am debugging a java program in Eclipse 3.2.1 in debug perspective.
    When I'm just running the program it's fine. But when I'm launching the debugger, and trying to step into the NoLifeParser() it stops and shows me the error message like this:
    ClassLoader.class
    Source not found
    The source attachment does not contain the source for the ClassLoader.class
    You can change the source attachment by clicking Change Attached Source below:
    BUTTON
    and then the source code for ClassLoader class.
    Please help, I'm struggling =(
    Thanks in advance,....!!

    This NolifeParser is some third party package, right? Do you have the source, I mean do you have in your project the file NolifeParser.java?

  • Bobj is undefined error while debugging a web application

    Hello, I am developing an asp.net web application in which I display a report, and testing it by using a sample (dummy) report that's saved on the computer's hard drive.  In design mode, the report displays properly, when when I try to debug the site on my machine (the server in this case, but it should work on any computer, since debugging is done on localhost), the site crashes and returns a Microsoft JScript error 'bobj is undefined'.  I have already tried moving the CrystalReportsViewer folder to be a sub-directory of the application (physical and virtual), as well as adding a script tag to refer to the location of the .js files in that directory, but nothing seems to fix the error.
    I recently tried installing the fix-packs and service packs for crystal reports, but the problem persists.
    I"m running Windows 7, VS 2008, Crystal Reports 2008, and IIS 7.  Thank you in advance.

    Hi;
    Compiling as 32 bit is only available for a Windows based application, not a Web one. You need to configure IIS to run either 32 or 64 bit.
    As for the bobj undefined error, try these kbases:
    [Bobj|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373338333933353332%7D.do]
    [Undefined|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333033363335%7D.do]
    Regards,
    Jonathan

  • Error while Debugging MSA  'Creation of Login Object Failed'

    Dear Friends,
    I am working on CRM Mobile Sales 5.0 SP 5.
    I have setup my Mobile Client and Mobile Application Studion On the same machine.
    I have perform the initial generation of the application from Mobile Repository server to my machine.
    it gave me 6 errors and 12 warnings  and took about 4 hrs for generation.
    Now when i tried to debug the generated application,
    i get my login screen and once I enter username and password.
    Error popups up stating "Creation of login object failed".
    and then another error
    "Starting MPPFailed" (MPP is my project name).
    Please suggest me how should i go about to debug the application solving the above errors.
    Awaiting Reply,
    Best Regards,
    Pratik Patel

    Am not sure if you were able to resolve the issue but below are some points:
    a. I think the dlls sfabol and msa are not any more registerable, since they are more of VB.NET components and here assembly is registered and not the dll.
    b. For logging into the application just ensure that you have user id in table SMOUSER and the employee for that user in SMOMITABT table.
    c. If this is fine, then ensure that you have the latest BDOC metadata information on your laptop. I think in 5.0 also you need to use Clientconsole to download this information.
    d. If this is all okay, then try running SQL profiler and check if the query to the ides db is being executed by the framework. If the query is fired then it means application seems to behave properly but the query is not retrieving relevant details.
    For further details feel free to contact me..
    thanks,
    Piyush

  • Eclipse error while debugging ! Its Urgent

    Hi All,
    I am trying to debug a java project using eclipse 3.1 and i am getting this internal error
    Source method signature could not be resolved Error org.eclipse.jdt.debug.ui
    org.eclipse.core.runtime.CoreException: Source method signature could not be resolved
    at org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter.toggleMethodBreakpoints(ToggleBreakpointAdapter.java:296)
    at org.eclipse.jdt.internal.debug.ui.actions.BreakpointLocationVerifierJob.run(BreakpointLocationVerifierJob.java:163)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    I am not able to set Line breakpoints...
    Can anybody help me ..Its urgent
    Message was edited by:
    Ajay_Java

    hi
    an error occurred when eclipse start or debugging
    the error is :
    !SESSION 2008-05-19 13:47:11.687 -----------------------------------------------
    eclipse.buildId=M20071023-1652
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.equinox.app 2008-05-19 13:47:12.578
    !MESSAGE Product org.eclipse.sdk.ide could not be found.
    !ENTRY org.eclipse.osgi 4 0 2008-05-19 13:47:12.593
    !MESSAGE Application error
    !STACK 1
    java.lang.RuntimeException: No application id has been found.
         at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
         at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
         at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
         at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
         at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
         at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
         at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
         at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
         at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)
         at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
         at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
         at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
         at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    !ENTRY org.eclipse.osgi 2 0 2008-05-19 13:47:12.703
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.703
    !MESSAGE Bundle update@plugins/org.eclipse.help.webapp_3.3.1.v20070823_33x.jar was not resolved.
    !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-05-19 13:47:12.703
    !MESSAGE Missing required bundle org.apache.jasper_5.5.17.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.703
    !MESSAGE Bundle update@plugins/org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816.jar was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2008-05-19 13:47:12.703
    !MESSAGE Missing imported package org.apache.jasper.servlet_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.703
    !MESSAGE Bundle update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar was not resolved.
    !SUBENTRY 2 org.eclipse.help.base 2 0 2008-05-19 13:47:12.703
    !MESSAGE Missing required bundle org.apache.lucene.analysis_[1.9.1,2.0.0).
    !ENTRY org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.sdk_3.3.2.R33x_v20071022/ [20] was not resolved.
    !SUBENTRY 2 org.eclipse.sdk 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.help.ui_[3.2.0,4.0.0).
    !SUBENTRY 2 org.eclipse.sdk 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.pde.ui_3.3.1.v20070912-0800.jar [25] was not resolved.
    !SUBENTRY 2 org.eclipse.pde.ui 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.apache.lucene.demo.html_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607.jar [27] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816.jar [32] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.apache.jasper.servlet_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar [53] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.help.webapp_3.3.1.v20070823_33x.jar [57] was not resolved.
    !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
    !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.apache.jasper_5.5.17.
    !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.equinox.jsp.jasper.registry_1.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.pde.ui.templates_3.3.0.v20070608-1300.jar [59] was not resolved.
    !SUBENTRY 2 org.eclipse.pde.ui.templates 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.pde.ui_[3.3.0,4.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-0435.jar [76] was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
    !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
    !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
    !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.help.ui_3.3.1.v20070726_33x.jar [86] was not resolved.
    !SUBENTRY 2 org.eclipse.help.ui 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.eclipse.help.base_[3.3.0,4.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar [129] was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-19 13:47:12.718
    !MESSAGE Bundle update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar [130] was not resolved.
    !SUBENTRY 2 org.eclipse.help.base 2 0 2008-05-19 13:47:12.718
    !MESSAGE Missing required bundle org.apache.lucene.analysis_[1.9.1,2.0.0).

  • Weird behavior: Throws an error while debugging/Run mode, but doesn't when project is built

    Hi there,
    I am trying to see if I could get some help on a strange situation:
    I am developing a desktop application with few window components (like music window, rss feeds, photos window, etc). I am trying to have a checkbox in the "preferences" component which will disable or enable the appropriate window component.
    When I am trying to test this checkbox in my application (in either debug mode or 'run' mode) an error is being thrown which I am not able to figure out why this error occurs (though I know its complaining about Null object reference). But when I am building the application with "Export Release Build" option and installing the application on my desktop to test the same checkbox - it works!! I am not sure why this is happening. Any help?
    Can you tell me why it's not complaining about Null object when I build the project or how to overcome this problem?
    This is the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Components::ComponentContainer/getComponentData()[/Users/Desktop/projects/DesktopLauncher /src/MyComponents/ComponentContainer.as:48]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Thanks in advance.

    Can you post the code at ComponentContainer.as line 48?
    Also, make sure the debug SWF is up to date; delete it in bin-debug, make a change to ensure the new one has come up.

Maybe you are looking for