Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » javascript debug failing
javascript debug failing [message #365309] Wed, 24 September 2008 18:23 Go to next message
Mike is currently offline MikeFriend
Messages: 28
Registered: July 2009
Junior Member
I am trying to debug a report in BIRT 2.3. I have set my breakpoint in
the report's beforeFactory script. When I try running Run->Debug Report
nothing happen. I have tried it from both the report and debug
perspective. Any ideas? Thanks.
Re: javascript debug failing [message #365312 is a reply to message #365309] Wed, 24 September 2008 19:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Mike,

In the debug perspective did you add a new report debug configuration?

Jason

Mike wrote:
> I am trying to debug a report in BIRT 2.3. I have set my breakpoint in
> the report's beforeFactory script. When I try running Run->Debug Report
> nothing happen. I have tried it from both the report and debug
> perspective. Any ideas? Thanks.
>
Re: javascript debug failing [message #365314 is a reply to message #365312] Wed, 24 September 2008 19:30 Go to previous messageGo to next message
Mike is currently offline MikeFriend
Messages: 28
Registered: July 2009
Junior Member
yes
Re: javascript debug failing [message #365315 is a reply to message #365314] Wed, 24 September 2008 20:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Mike,

What options did you select for the debug configuration?

Jason

Mike wrote:
> yes
>
Re: javascript debug failing [message #365316 is a reply to message #365315] Wed, 24 September 2008 21:16 Go to previous messageGo to next message
Mike is currently offline MikeFriend
Messages: 28
Registered: July 2009
Junior Member
Main Tab:
Report file: pointed at my report
Use default engine home: checked
Temp folder: my windows profile temp directory (default)
Task Type: Run and Render
Debug type: Java Script
Output: html
Open generated file: checked

All other tabs: default
Re: javascript debug failing [message #365321 is a reply to message #365316] Thu, 25 September 2008 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Mike,

Are you using windows vista?
If so can you try setting the temp folder to something like c:/temp?
I had permission problems with the profile temp directory.

Jason

Mike wrote:
> Main Tab:
> Report file: pointed at my report
> Use default engine home: checked
> Temp folder: my windows profile temp directory (default)
> Task Type: Run and Render
> Debug type: Java Script
> Output: html
> Open generated file: checked
>
> All other tabs: default
>
Re: javascript debug failing [message #365323 is a reply to message #365321] Thu, 25 September 2008 19:01 Go to previous messageGo to next message
Mike is currently offline MikeFriend
Messages: 28
Registered: July 2009
Junior Member
I am not using Vista. I switched my temp folder to c:/temp and there is
no change.
Re: javascript debug failing [message #365345 is a reply to message #365323] Mon, 29 September 2008 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Mike,

Are you getting any errors in the workspace log file?

Jason

Mike wrote:
> I am not using Vista. I switched my temp folder to c:/temp and there is
> no change.
>
Re: javascript debug failing [message #368131 is a reply to message #365345] Tue, 05 May 2009 15:26 Go to previous messageGo to next message
James Koch is currently offline James KochFriend
Messages: 23
Registered: July 2009
Junior Member
My 2.3.2.1 debugging was working fine last week. This week I'm experiencing
the same issue reported here, namely nothing *at all* happens when I attempt
to debug. Perhaps related, I emptied out my TEMP folder yesterday. I do
use Vista, and have tried changing my temp folder to c:\temp. None of this
helps.

My workspace log shows:
!ENTRY org.eclipse.ui 4 0 2009-05-05 10:51:05.250
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
at
org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.createScalarParameter(ParameterFactory.java:183)
at
org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.getRootChildren(ParameterFactory.java:87)
at
org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.getInputParameters(ReportLaunchHelper.java: 308)
at
org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.access$0(ReportLaunchHelper.java:292)
at
org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper$1.run(ReportLaunchHelper.java:358)
at
org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:155)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
... 22 more


"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:gbqmun$6l0$1@build.eclipse.org...
> Mike,
>
> Are you getting any errors in the workspace log file?
>
> Jason
>
> Mike wrote:
>> I am not using Vista. I switched my temp folder to c:/temp and there is
>> no change.
>>
Re: javascript debug failing [message #368133 is a reply to message #368131] Tue, 05 May 2009 15:42 Go to previous messageGo to next message
James Koch is currently offline James KochFriend
Messages: 23
Registered: July 2009
Junior Member
I think I figured it out. Filed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=275008


"James Koch" <jkoch@insightdirect.com> wrote in message
news:gtplrj$dv7$1@build.eclipse.org...
> My 2.3.2.1 debugging was working fine last week. This week I'm
> experiencing the same issue reported here, namely nothing *at all* happens
> when I attempt to debug. Perhaps related, I emptied out my TEMP folder
> yesterday. I do use Vista, and have tried changing my temp folder to
> c:\temp. None of this helps.
>
> My workspace log shows:
> !ENTRY org.eclipse.ui 4 0 2009-05-05 10:51:05.250
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:3777)
> at org.eclipse.swt.SWT.error(SWT.java:3695)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.createScalarParameter(ParameterFactory.java:183)
> at
> org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.getRootChildren(ParameterFactory.java:87)
> at
> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.getInputParameters(ReportLaunchHelper.java: 308)
> at
> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.access$0(ReportLaunchHelper.java:292)
> at
> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper$1.run(ReportLaunchHelper.java:358)
> at
> org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:155)
> at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> ... 22 more
>
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:gbqmun$6l0$1@build.eclipse.org...
>> Mike,
>>
>> Are you getting any errors in the workspace log file?
>>
>> Jason
>>
>> Mike wrote:
>>> I am not using Vista. I switched my temp folder to c:/temp and there is
>>> no change.
>>>
>
Re: javascript debug failing [message #368134 is a reply to message #368133] Tue, 05 May 2009 16:03 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

James,

It looks like this is a bug, but what event do you have the breakpoint on?

Jason

James Koch wrote:
> I think I figured it out. Filed
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=275008
>
>
> "James Koch" <jkoch@insightdirect.com> wrote in message
> news:gtplrj$dv7$1@build.eclipse.org...
>> My 2.3.2.1 debugging was working fine last week. This week I'm
>> experiencing the same issue reported here, namely nothing *at all*
>> happens when I attempt to debug. Perhaps related, I emptied out my
>> TEMP folder yesterday. I do use Vista, and have tried changing my
>> temp folder to c:\temp. None of this helps.
>>
>> My workspace log shows:
>> !ENTRY org.eclipse.ui 4 0 2009-05-05 10:51:05.250
>> !MESSAGE Unhandled event loop exception
>> !STACK 0
>> org.eclipse.swt.SWTException: Failed to execute runnable
>> (java.lang.NullPointerException)
>> at org.eclipse.swt.SWT.error(SWT.java:3777)
>> at org.eclipse.swt.SWT.error(SWT.java:3695)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:136)
>>
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>> Caused by: java.lang.NullPointerException
>> at
>> org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.createScalarParameter(ParameterFactory.java:183)
>>
>> at
>> org.eclipse.birt.report.designer.ui.parameters.ParameterFact ory.getRootChildren(ParameterFactory.java:87)
>>
>> at
>> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.getInputParameters(ReportLaunchHelper.java: 308)
>>
>> at
>> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper.access$0(ReportLaunchHelper.java:292)
>>
>> at
>> org.eclipse.birt.report.debug.internal.ui.script.launcher.Re portLaunchHelper$1.run(ReportLaunchHelper.java:358)
>>
>> at
>> org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:155)
>>
>> at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
>>
>> ... 22 more
>>
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:gbqmun$6l0$1@build.eclipse.org...
>>> Mike,
>>>
>>> Are you getting any errors in the workspace log file?
>>>
>>> Jason
>>>
>>> Mike wrote:
>>>> I am not using Vista. I switched my temp folder to c:/temp and
>>>> there is no change.
>>>>
>>
>
Previous Topic:Creating Mailing Labels and Form Type of Repots
Next Topic:Sorting on Strings?
Goto Forum:
  


Current Time: Wed Apr 24 14:08:45 GMT 2024

Powered by FUDForum. Page generated in 0.04018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top