Error: 1013290 Cannot kill or stop a session: in constant terminating
I have a session the I tried to terminate by Killing it and Logging off the user. The Request State changes to "terminating" but never goes away. Anyone have a solution? thanks
user13426216 wrote:
I have a session the I tried to terminate by Killing it and Logging off the user. The Request State changes to "terminating" but never goes away. Anyone have a solution? thanksyou need to terminate the OS process/thread; depending upon OS of DB Server
Similar Messages
-
VM Server stuck in "Error" state - cannot start or stop any VMs
I have Oracle VM Server 3.0.2, VM Manager 3.0.2, and have a VM server stuck in an "Error" state. I've gone into all the Event tabs for the server + guests and acknowledged all the errors, but it's still in this state.
When I try to start a VM for example, I get this error on screen (I've obfuscated the server names):
OVMRU_005007E Virtual Machine: <vmname>, cannot be started/resumed on Server: <servername>. Reasons:
Server: <servername>, is in error
AdminServer-diagnostic.log reports:
[2012-03-23T16:58:05.078+13:00] [AdminServer] [ERROR] [] [com.oracle.ovm.mgr.faces.model.EO] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 87aae679e5ee7e1d:-14aa5e4e:1363307a070:-8000-000000000000eb79,0] [APP: ovm_console] Programming error![[
java.lang.NoSuchMethodException: com.oracle.ovm.mgr.api.collectable.ManagedObjectHandleImpl.getUser()
at java.lang.Class.getMethod(Class.java:1605)
at com.oracle.ovm.mgr.faces.model.EO.invokeStringAccessor(EO.java:551)
at com.oracle.ovm.mgr.faces.model.EO.invokeStringAccessor(EO.java:1124)
at com.oracle.ovm.mgr.faces.model.JobEO.getUsername(JobEO.java:608)
at com.oracle.ovm.mgr.faces.backing.task.TaskFilter.isAssociatedUser(TaskFilter.java:216)
at com.oracle.ovm.mgr.faces.backing.task.TaskFilter.isAssociatedWith(TaskFilter.java:241)
at com.oracle.ovm.mgr.faces.model.collection.EOList.isAssociatedWith(EOList.java:239)
at com.oracle.ovm.mgr.faces.model.collection.EventSupport.handleInsert(EventSupport.java:60)
at com.oracle.ovm.mgr.faces.model.collection.EOList.handleInsert(EOList.java:211)
at sun.reflect.GeneratedMethodAccessor1446.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.ovm.mgr.faces.model.ChangeSupport.fireChangeEvent(ChangeSupport.java:127)
at com.oracle.ovm.mgr.faces.model.ChangeSupport.fireInsert(ChangeSupport.java:66)
at com.oracle.ovm.mgr.faces.model.DataProvider$EventListener.fireInsert(DataProvider.java:312)
at com.oracle.ovm.mgr.faces.model.DataProvider$EventListener.timerExpired(DataProvider.java:284)
at weblogic.timers.internal.commonj.ListenerWrap.timerExpired(ListenerWrap.java:37)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Nothing gets written to AdminServer.log
Any ideas?Hi Mannyabdon,
Based on your description, I recommend to check the things below:
1. Run the PowerShell command below to check the status of the Secure Store Service:
Get-SPServiceInstance |Where {$_.typename -like "Document Conversions Load Balancer Service"}
If it is not showing online, please stop the service first and then start it to see if the issue still occurs (the
<ServiceGUID> can be obtained obtained from the command above).
Stop the service:
Stop-SPServiceInstance -Identity <ServiceGUID>
Start the service:
Start-SPServiceInstance -Identity <ServiceGUID>
2. Check the ULS log for detailed error message.
For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Systemd/user: tmux sessions get killed when stopping systemd session
Following the wiki guide on systemd/user, I am now starting my X sessions using systemd unit files for my user.
My problem: when I quit X or exit the systemd session (for example through $ systemctl --user exit), my tmux sessions get killed along with it. Note, I do not start tmux with unit files, but simply through invoking “tmux” in a virtual terminal. I have also tried detaching the tmux session before quitting the systemd session, but to no avail.
How can I make my tmux sessions survive X closing?That is beacuse tmux becomes a child process of the systemd --user session. So it gets caught up in the cgroup and everything. What I have done is I start a system service of tmux as my user (I have creatively come up with the name "[email protected]"). Here is what I've got, that has been working for me:
% cat /etc/systemd/system/[email protected]
[Unit]
Description=Start detached tmux session
After=multi-user.target
Before=shutdown.target
[Service]
Type=forking
User=%I
WorkingDirectory=%h
ExecStart=/usr/bin/tmux new-session -d -s %u
ExecStop=/usr/bin/tmux kill-session -t %u
Restart=always
[Install]
WantedBy=multi-user.target
Last edited by WonderWoofy (2013-04-27 22:35:27) -
How to kill concurrent request oracle session which is terminated
Dear,
In our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
If we try, "alter system kill session 'SID,serial#';"
it gives below message,
ERROR at line 1:
ORA-00031: session marked for kill
Could you please provide steps to kill this oracle session.
Instance detail:
Oracle Applications R12.1
Oracle database 11.1.0.7
Thanks,
...basha
Edited by: 913932 on Jun 25, 2012 2:32 AMIn our production environment Concurrent request "Gather Schema Stats" was running 2 days. Hence we cancelled the request.
Request completed as terminated status. Unfortunately the oracle session of that concurrent request went to "Killed" status. Still utilizing CPU resource.
If we try, "alter system kill session 'SID,serial#';"
it gives below message,
ERROR at line 1:
ORA-00031: session marked for killTry "alter system kill session 'SID,serial#' immediate".
Could you please provide steps to kill this oracle session.Concurrent Processing - How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. [ID 735119.1]
Thanks,
Hussein -
Cannot kill a session that is running a query on a linked server in SQL Server 2008 R2
Hi,
Cannot kill a session that is running a query on a linked server in SQL Server 2008 R2.
When I try to kill, it status shown as "KILLED/ROLLBACK"
I have facing the issue from long back. I searched many and none of them worked for me
Any help is greatly appreciated
Thanks
Jaison
CarverI guess its stuck, can you see some blocking or any other process blocking the rollback.
can you check rollback status using below command. Or you can use sp_who2 and check status column
select percent_complete,estimated_completion_time from sys.dm_exec_requests
where spid=xxx
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
i'm trying to copy pics from my pc to Iphone4s and am getting an error message - cannot copy item - the device has either stopped responding or has been disconnected. please tell me what to do to enable me to transfer the pics
Are you syncing the photos using Itunes?
When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
Look here more detailed instructions
http://support.apple.com/kb/HT4236 -
When I try to copy a photo from my computer (windows 7) I get this error message: Cannot copy item. The device has either stopped responding or has been disconnected. Any help for this?
Are you syncing the photos using Itunes?
When you plug your phone into your PC, in Itunes under the picture tab you can sync photo and then choose the photos.
Look here more detailed instructions
http://support.apple.com/kb/HT4236 -
How to stop an error without coming out of that particular session?
Dear All,
Always I encounter times when the system force me to make the changes
before I can proceed with anything, any way to stop the error first
without coming out of the session so that I do not need to key all over
again?
Many Thanks for your helpHi,
In case you are trying to post a document and error keeps coming at different places as a result of customizing, there is no other option but to fix the missing customizing, and re enter the posting from the beginning. this is because the underlying tables needs to be refereshed and way of refreshing is to exit and start all over again.
Rgds. -
Oh man! jsut when i thought I w'as getting somewhere! I thought I had my load and unload code sorted and now I am getting this error for a particular .swf that I am trying to load. the loader code is working fine, it will load a test. The particular.swf works fine on its own, but it wont load for some reason! Argh!!!!! AM I just a total $%#^%# idiot or waht! This process has been like having my eyeballs extracted by ants!
Please please help
ReferenceError: Error #1056: Cannot create property write_visionMC on aavar.
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at aavar()
write_visionMC is the a movieclip inside the .swf I am trying to load aavar() is my docuemnt classuse the trace() function to debug. start by confirming that your document class'es constructor is being called. then use traces to make sure your movieclip exists before it's being referenced.
-
Not able to stop batch session
Hii,
I have placed one session on error only mode.
it has been running for last 5 hrs.I am not able to stop the session.
Even after loging out of the system it still shows active session.when i tried to kill the session but it is not allowing me to kill the session.instead one more session is getting created.i am able to kill that session also.
its very urgent pls help.
Regards,
Viren.see if this part of sap-help helps you!
Deleting Sessions
Use
Normally, batch input sessions are deleted from the session list automatically when they are completed. However, sessions remain in the list if any of the following is true:
They were generated with the KEEP option.
They contain errors or were aborted with the /bend OK code. (Such a session is deleted when you finish processing it, unless it was generated with the KEEP option.)
When you no longer need sessions that have been held in the list, you can explicitly delete them.
Do not delete any sessions that contain unprocessed transactions. You must first correct and process such transactions or enter the data in the transactions into the R/3 System in some other way.
Prerequisites
Start the batch input management tool: Select System ® Service ® Batch input ® Sessions. Alternate: Enter transaction SM35. Both paths take you to the session overview of the batch input system.
Procedure
To delete a session from the session queue, mark the sessions to be deleted and choose Delete from the tool bar. The system asks you to confirm the deletion. It also asks you if the session log should be deleted together with the session.
Message was edited by: Bapujee Naidu -
how do I fix an error message of "failed to open a session on this devices" for my HP photosmart 6510 scanner?
Hello Kwastfamily,
It sounds like you are unable to print from your computer to your printer. I would run through the troubleshooting steps in this article:
Troubleshooting printer issues in OS X
http://support.apple.com/kb/ts3147
Make sure that the printer is powered on, has ink / toner, and that there are no alerts on the printer’s control panel. Note: If you cannot clear an alert on the printer's control panel, stop here and check the printer's documentation or contact the manufacturer for support.
Ensure the printer is properly connected to a USB port on the Mac or AirPort base station / Time Capsule. If the printer is a network-capable printer, make sure that it is properly connected to your home network.
Use Software Update to find and install the latest available updates. If an update is installed, see if the issue persists.
Open the Print & Scan pane or Print & Fax (Snow Leopard) pane in System Preferences.
Delete the affected printer, then add the printer again.
If the issue persists, try these additional steps:
Reset the printing system, then add the printer again.
If the issue still persists, reset the printing system again. Download and install your printer's drivers. Then, add the printer again.
Contact the printer vendor or visit their website for further assistance.
Thank you for using Apple Support Communities.
All the very best,
Sterling -
ERROR - 1013113 - Cannot unload database dbnam , when it is still in use.
Hi ,
Below is the scenario of what am doing and the error am getting. Please shed some light and share ur ideas on this.
1 . I used the below maxl statement and logged out all the sessions on the application by force.
alter system logout session on application <appname> force;
2. After logging out the sessiosn, am using the below maxl statement to unload the application,
ALTER SYSTEM UNLOAD APPLICATION <appname>;
but am getting error as "*ERROR - 1013113 - Cannot unload database <dbnam>, when it is still in use.*".
Please share your expertise to eliminate this abnormality of essbase.
Thanks in advance!!
-Vinay
Edited by: user12000483 on Jul 8, 2010 2:10 AMI found that sometimes after a EAS command (for instance a export data) is finished (correctly finished or not it does not matter in this case) a rudimentary tcp connection from EAS to the essbase server is left open.
You can view this with a generic tcp viewer) on either the eas or the essbase server.
Disconnecting this particular tcp connection "frees" the essbase DB for further actions.
It is not nesecary to close the proces which keeps the connection open. Since this would kills your essbase application running.
This was really a pain in the $% for the last years since before I always had to kill the application process. Perhaps I am creating a case at Oracle to solve the initial cause, but for the moment this helps me a lot. I did not have time to see if the same occurs after maxl processes. But I doubt it happens there. The cause can be in the weblogic timeouts and behaviour at the EAS server. -
Fatal error 78: Cannot connect to User Group LDAP Server
After configuring Calendar server when trying to start:
give following error:
# ./start-cal
Restarting calendar services
Stopping all calendar services
Starting all calendar services
# enpd is started
csnotifyd is started
csadmind is started
Fatal error 78: Cannot connect to User Group LDAP Server
cshttpd is not started
Calendar service(s) not started
cshttpd is not started
Calendar service(s) not started
Following logs are from http logs of calendar server
[13/Sep/2004:22:02:47 +0100] Vigor11 cshttpd[17916]: General Information: Log created (1095109367)
[13/Sep/2004:22:02:47 +0100] Vigor11 cshttpd[17916]: General Notice: Sun Java System Calendar Server 6 2004Q2 (built Apr 28 2004) cshttpd starting up
[13/Sep/2004:22:02:47 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd attempting to open Counters Database
[13/Sep/2004:22:02:47 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd successfully opened the Counters Database
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: HTTP Module is refreshing
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd is refreshing
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd is refreshed
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: HTTP Module has refreshed
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd: argc=3 argv[0]=/opt/SUNWics5/cal/lib/cshttpd
[13/Sep/2004:22:02:48 +0100] Vigor11 cshttpd[17916]: General Notice: session_init: attempting to open session database for cshttpd
[13/Sep/2004:22:02:49 +0100] Vigor11 cshttpd[17916]: General Notice: session_init: session database open completed for cshttpd
[13/Sep/2004:22:02:49 +0100] Vigor11 cshttpd[17916]: Store Critical: Error checking session database: DB->set_alloc: method not permitted in shared environment
[13/Sep/2004:22:02:49 +0100] Vigor11 cshttpd[17916]: General Notice: LdapCacheInit: Ldap Cache not enabled.
[13/Sep/2004:22:02:49 +0100] Vigor11 cshttpd[17916]: General Notice: cshttpd_parse_commandline: successfully bind process 17916 to processor 0
[13/Sep/2004:22:02:49 +0100] Vigor11 cshttpd[17916]: General Critical: Fatal error 78: Cannot connect to User Group LDAP Server
Have any body seen this before.
RegardsThe server was running fine for few months until i restarted the calendar server. i started to see the same error and the problem was the machine name got changed at some point.
I added the old hostname to the /etc/hosts file and restarted the calender server and it started to work fine. -
LMS 3.2 - Backup-Error -- ERROR(908): Cannot create or back up tar file
Hello again,
with performing backup (LMS 3.2 on Solaris 9) the following errors will arise.
dbbackup.log
/opt/CSCOpx/bin/tar: Removing leading `/' from absolute path names in the archive Apps file : /opt/CSCOpx/backup/manifest/upm/upminfo/datafiles.txt
[Tue Dec 8 08:56:54 2009] Archiving the contents of the following directories into /enbw/backup/files/cw_db_backup/0/upm/filebackup.tar
[Tue Dec 8 08:56:54 2009] /opt/CSCOpx/hum/conf/upm-snmp.properties
/opt/CSCOpx/hum/thresholdscript /opt/CSCOpx/MDC/tomcat/webapps/upm/reports
/opt/CSCOpx/MDC/tomcat/webapps/upm/WEB-INF/classes/com/cisco/nm/upm/properti
es/common/UPM.properties
/opt/CSCOpx/bin/tar: Removing leading `/' from absolute path names in the archive
/opt/CSCOpx/bin/tar: Cannot add file
/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/virt32841308_657_658_-718594975:
No such file or directory
/opt/CSCOpx/bin/tar: Cannot add file
/opt/CSCOpx/MDC/tomcat/webapps/upm/reports/virt32841308_658_659_1465769167:
No such file or directory
/opt/CSCOpx/bin/tar: Error exit delayed from previous errors [Tue Dec 8 09:07:30 2009] ERROR(908): Cannot create or back up tar file. Backup cancelled. Verify that you have write-access to this directory. [Tue Dec 8 09:07:30 2009] Backup failed: 2009/12/08 09:07:40 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Is seems to be problem related to maximal filesize handling of GNUtar implemented in CW2000.
The problem is with tar'ing HUM-Reports in /opt/CSCOpx/MDC/tomcat/webapps/upm/reports, and with reaching
tarfile-size of 2,9GByte error is thrown.
</exxx/backup/files/cw_db_backup/0/upm># ls -lh
total 6126448
-rw-r----- 1 casuser casusers 2.9G Dec 8 09:07 filebackup.tar
</exxx/backup/files/cw_db_backup/0/upm># ls -al
total 6126452
drwxr-x--- 2 casuser casusers 512 Dec 7 14:30 .
drwxr-x--- 11 casuser casusers 512 Dec 7 14:30 ..
-rw-r----- 1 casuser casusers 3135201280 Dec 8 09:07 filebackup.tar
GNUtar-Version
# /opt/CSCOpx/bin/tar --version
tar (GNU tar) 1.13
Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by John Gilmore and Jay Fenlason.
Is this a know problem?
Thanks for any thoughts.
Best Regards
LotharHi Joe,
thanks for your feedback.
These files to be tarred aren't there directly after backup stops with error.
It seems that some process stores data about reports in that file and when trying to
pack these reports via tar they are delete by any cleanup method.
Does this help.
P.S. Backup usually takes about more than 1hour -
Hi,
I have flexunit project which I am trying to run on linux server.
1. I have Tests project.
2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using ant on 64 bit linux server using standalone flash debug player.
3. Tests project contains 4 tests and first tests always fail with following error,
test:
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/var/lib/flex4.1sdk]
[flexunit] haltonfailure: [true]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/report]
[flexunit] Setting up server process ...
[flexunit] Entry [/mnt/build/VinitFlexUnitBranch/workspace/bin] already available in local trust file at [/home/deploy/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
[flexunit] Executing 'gflashplayer' with arguments:
[flexunit] '/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Client connected.
[flexunit] Setting inbound buffer size to [262144] bytes.
[flexunit] Receiving data ...
[flexunit] Sending acknowledgement to player to start sending test data ...
[flexunit]
[flexunit] FlexUnit test pause in suite Tests.Classes.DummyASyncTest had errors.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[flexunit] <testcase classname="Tests.Classes::DummyASyncTest" name="pause" time="8" status="error"><error message="Error #1009: Cannot access a property or method of a null object reference." type="Tests.Classes::DummyASyncTest.pause" ><![CDATA[TypeError: Error #1009: Cannot access a property or method of a null object reference.
[flexunit] at org.fluint.uiImpersonation.flex::FlexEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.fluint.uiImpersonation::VisualTestEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher/getStage()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher()
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withStackManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withDecoration()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()
[flexunit] at org.flexunit.runner::FlexUnitCore/verifyRunnerCanBegin()
[flexunit] at org.flexunit.token::AsyncCoreStartupToken/sendReady()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at org.flexunit.listeners::CIListener/setStatusReady()
[flexunit] at org.flexunit.listeners::CIListener/dataHandler()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.net::XMLSocket/scanAndSendEvent()]]></error></testcase>
[flexunit] <endOfTestRun/>
[flexunit] Analyzing reports ...
[flexunit]
[flexunit] Suite: Tests.Classes.DummyASyncTest
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
[flexunit] Results :
[flexunit]
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
BUILD FAILED
/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/build.xml:26: FlexUnit tests failed during the test run.
at org.flexunit.ant.tasks.TestRun.analyzeReports(Unknown Source)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
Exited with status 1
[deploy]$
4. Everytime I run this, any test which is run first will fail and all other tests will pass.
My Tests.as file is as below:
* Tests.as
package
import Tests.XTestSuite;
import flash.display.Sprite;
import mx.core.FlexSprite;
import org.flexunit.listeners.CIListener;
import org.flexunit.listeners.UIListener;
import org.flexunit.runner.FlexUnitCore;
public class Tests extends Sprite
public var flexSprite:FlexSprite;
public function Tests()
onCreationComplete();
public function onCreationComplete() : void {
var core : FlexUnitCore = new FlexUnitCore();
core.addListener(new CIListener());
core.runClasses(Tests.XTestSuite);
public function currentRunTestSuite():Array
var testsToRun:Array = new Array();
testsToRun.push(Tests.XTestSuite);
return testsToRun;
XTestSuite try to run 4 flexunit test classes.
one of that flexunit test script class is as below:
package Tests.Classes
import flexunit.framework.Assert;
import org.flexunit.Assert;
import org.flexunit.asserts.assertEquals;
public class DummyASyncTest
[Test]
public function pause() : void
assertEquals(true, true);
trace("I M in dummy");
All other tests are dummy tests which just asserts(true, true).
I am not sure if I doing something wrong or forgot to take care of something.Hi,
I have flexunit project which I am trying to run on linux server.
1. I have Tests project.
2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using ant on 64 bit linux server using standalone flash debug player.
3. Tests project contains 4 tests and first tests always fail with following error,
test:
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/var/lib/flex4.1sdk]
[flexunit] haltonfailure: [true]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/report]
[flexunit] Setting up server process ...
[flexunit] Entry [/mnt/build/VinitFlexUnitBranch/workspace/bin] already available in local trust file at [/home/deploy/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
[flexunit] Executing 'gflashplayer' with arguments:
[flexunit] '/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Client connected.
[flexunit] Setting inbound buffer size to [262144] bytes.
[flexunit] Receiving data ...
[flexunit] Sending acknowledgement to player to start sending test data ...
[flexunit]
[flexunit] FlexUnit test pause in suite Tests.Classes.DummyASyncTest had errors.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[flexunit] <testcase classname="Tests.Classes::DummyASyncTest" name="pause" time="8" status="error"><error message="Error #1009: Cannot access a property or method of a null object reference." type="Tests.Classes::DummyASyncTest.pause" ><![CDATA[TypeError: Error #1009: Cannot access a property or method of a null object reference.
[flexunit] at org.fluint.uiImpersonation.flex::FlexEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.fluint.uiImpersonation::VisualTestEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher/getStage()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher()
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withStackManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withDecoration()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()
[flexunit] at org.flexunit.runner::FlexUnitCore/verifyRunnerCanBegin()
[flexunit] at org.flexunit.token::AsyncCoreStartupToken/sendReady()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at org.flexunit.listeners::CIListener/setStatusReady()
[flexunit] at org.flexunit.listeners::CIListener/dataHandler()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.net::XMLSocket/scanAndSendEvent()]]></error></testcase>
[flexunit] <endOfTestRun/>
[flexunit] Analyzing reports ...
[flexunit]
[flexunit] Suite: Tests.Classes.DummyASyncTest
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
[flexunit] Results :
[flexunit]
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
BUILD FAILED
/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/build.xml:26: FlexUnit tests failed during the test run.
at org.flexunit.ant.tasks.TestRun.analyzeReports(Unknown Source)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
Exited with status 1
[deploy]$
4. Everytime I run this, any test which is run first will fail and all other tests will pass.
My Tests.as file is as below:
* Tests.as
package
import Tests.XTestSuite;
import flash.display.Sprite;
import mx.core.FlexSprite;
import org.flexunit.listeners.CIListener;
import org.flexunit.listeners.UIListener;
import org.flexunit.runner.FlexUnitCore;
public class Tests extends Sprite
public var flexSprite:FlexSprite;
public function Tests()
onCreationComplete();
public function onCreationComplete() : void {
var core : FlexUnitCore = new FlexUnitCore();
core.addListener(new CIListener());
core.runClasses(Tests.XTestSuite);
public function currentRunTestSuite():Array
var testsToRun:Array = new Array();
testsToRun.push(Tests.XTestSuite);
return testsToRun;
XTestSuite try to run 4 flexunit test classes.
one of that flexunit test script class is as below:
package Tests.Classes
import flexunit.framework.Assert;
import org.flexunit.Assert;
import org.flexunit.asserts.assertEquals;
public class DummyASyncTest
[Test]
public function pause() : void
assertEquals(true, true);
trace("I M in dummy");
All other tests are dummy tests which just asserts(true, true).
I am not sure if I doing something wrong or forgot to take care of something.
Maybe you are looking for
-
Cannot include a staic file in a JSP
hi everybody, i have a requeirement as follows. i need to include a static html file in a JSP which IS NOT IN application server's jsp folder. i tried specifying actual file path and server's absolute path. not n use. can some body help me. applicati
-
Problem with UE ZXKKEU11 in ECC 6.0
Hi Guys, I have a problem with UE ZXKKEU11. When it was called from VA01 during material insert, the structure i_copa_item is empty and I don't know why. Have you got any suggestion??? Thank you in advance for any useful answer If you could I need he
-
BEx Analyzer with different worksheets
Hello, I have query with the following query structure in my BEx query designer Characteristics Keyfigures Project no Costcenter Jan Actual Feb Act Mar act ...Augplan Decplan I want
-
Problem with currency fields in alv while editing
hi guys, while creating the editable fields and saving the data in database i have problem with currency(price fields), when iam entering 10000 it is storing as 100.00 in database but i want to store it as 10,000.00 can any one help me .... it is urg
-
After I read some messages already posted discussing the run_report issue, I changed the old solution to a new one, through which I execute tho following steps: 1_ at run command prompt I excute the following one: rwserver - install server = rep_serv