Yaourt error :"mv: cannot stat......"
several times when i use yaourt to install application, it has the similar error,e.x
[in@ZEN ~]$ yaourt -S nevernote
==> Downloading nevernote PKGBUILD from AUR...
x PKGBUILD
First Submitted: Wed, 29 Sep 2010 07:36:28 +0000
nevernote 0.99-1
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> nevernote dependencies:
- java-runtime (already installed)
- libpng12 (already installed)
==> Continue building nevernote ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> Making package: nevernote 0.99-1 (Fri Jul 22 06:21:33 CST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading nevernote-0.99_i386.tar.gz...
mv: cannot stat `/tmp/yaourt-tmp-in/aur-nevernote/nevernote-0.99_i386.tar.gz.part': No such file or directory
==> ERROR: Failure while downloading nevernote-0.99_i386.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build nevernote.
==> Restart building nevernote ? [y/N]
==> ----------------------------------
All I can say is that's sth to do w/ yaourt or your /tmp, as I've just installed nevernote "manually" w/o a problem.
Have you tried building in another location?
yaourt --tmp ~/blah -S nevernote
or something like this; consult the man page if this option doesn't work and adjust the path of the build directory.
Similar Messages
-
Eschalon_book2 package install: cp: cannot stat error?
Hi All,
Trying to install an eschalon2 pkgbuild from the AUR. I already edited the PKGBUILD for the correct source URL and regenerated the correct MD5's, I'm stuck at the below error though, some help would be much appreciated! Please see my terminal output below:
[user@USER eschalon2]$ yaourt -S eschalon2
==> Downloading eschalon2 PKGBUILD from AUR...
x eschalon2.launcher
x eschalon2.install
x EschalonBook2.png
x PKGBUILD
x eschalon2.desktop
Comment by: Thalic on Thu, 28 Oct 2010 14:19:28 +0000
Fixed
Comment by: hasufell on Sat, 12 Mar 2011 17:11:41 +0000
http://pastebin.com/raw.php?i=TkGf9R0S
Comment by: Abdunur on Wed, 08 Jun 2011 03:35:17 +0000
Available download link
http://pastebin.com/raw.php?i=D4xQw2yM
Comment by: schuay on Sat, 30 Jul 2011 09:59:06 +0000
Disowned due to out of date flag since Feb 21 with no maintainer action. Feel free to adopt and update.
Comment by: Anntoin on Tue, 06 Dec 2011 04:32:01 +0000
The download location has changed to http://www.basiliskgames.com/dl_content/eb2_105_release/eschalon_book_2.tar.gz
Comment by: schuay on Tue, 06 Dec 2011 05:43:09 +0000
Updated, thanks
First Submitted: Wed, 26 May 2010 16:11:38 +0000
eschalon2 1.05-1
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
Please add $EDITOR to your environment variables
for example:
export EDITOR="vim" (in ~/.bashrc)
(replace vim with your favorite editor)
==> Edit PKGBUILD with: nano
==> eschalon2 dependencies:
- lib32-freetype2 (already installed)
- lib32-libxxf86vm (already installed)
- lib32-mesa (already installed)
- lib32-gcc-libs (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> Edit eschalon2.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------
==> n
==> Continue building eschalon2 ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:13:24 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading eschalon_book_2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 41358 0 41358 0 0 11707 0 --:--:-- 0:00:03 --:--:-- 107k
-> Found EschalonBook2.png
-> Found eschalon2.desktop
-> Found eschalon2.launcher
==> Validating source files with md5sums...
eschalon_book_2.tar.gz ... FAILED
EschalonBook2.png ... Passed
eschalon2.desktop ... Passed
eschalon2.launcher ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build eschalon2.
==> Restart building eschalon2 ? [y/N]
==> ----------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
==> eschalon2 dependencies:
- lib32-freetype2 (already installed)
- lib32-libxxf86vm (already installed)
- lib32-mesa (already installed)
- lib32-gcc-libs (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> Edit eschalon2.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------
==> n
==> Continue building eschalon2 ? [Y/n]
==> -----------------------------------
==>
==> Building and installing package
==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:14:52 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found eschalon_book_2.tar.gz
-> Found EschalonBook2.png
-> Found eschalon2.desktop
-> Found eschalon2.launcher
==> Validating source files with md5sums...
eschalon_book_2.tar.gz ... Passed
EschalonBook2.png ... Passed
eschalon2.desktop ... Passed
eschalon2.launcher ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
cp: cannot stat '/tmp/yaourt-tmp-USER/aur-eschalon2/src/eschalon_book_2/*': No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build eschalon2.
The revised PKGBUILD is as follows:
# Maintainer: REMOVED
# Contributor: REMOVED
pkgname=eschalon2
pkgver=1.05
pkgrel=1
pkgdesc="Turn-based RPG. Eschalon: Book II is the sequel to 2007’s award winning RPG Eschalon: Book I, although no previous experience is needed to play and enjoy Book II."
arch=('i686' 'x86_64')
url='http://basiliskgames.com/eschalon-book-ii'
license=('custom: "commercial"')
install=eschalon2.install
if [ "$CARCH" = "x86_64" ]; then
depends=('lib32-freetype2' 'lib32-libxxf86vm' 'lib32-mesa' 'lib32-gcc-libs')
else
depends=('freetype2' 'libxxf86vm' 'mesa' 'gcc-libs')
fi
install=eschalon2.install
source=("http://www.gamefront.com/files/20844362/eschalon_book_2.tar.gz"
'EschalonBook2.png'
'eschalon2.desktop'
'eschalon2.launcher')
md5sums=('90bcd453ad20a00686d81d8873e7def3'
'536ccc508dfc14e89cb87c6d6e35a675'
'5f10d62310119e64659c24bc01aa16b9'
'23cbeb1f0c444a48dc5c4a0bf639b21b')
build() {
cd $srcdir
# Create Destination Directory
install -d $pkgdir/opt/Eschalon2
# Install the data
cp -r $srcdir/eschalon_book_2/* $pkgdir/opt/Eschalon2
# Install Icon
install -D -m 644 $srcdir/EschalonBook2.png \
$pkgdir/usr/share/pixmaps/EschalonBook2.png
# Install Launcher
install -D -m 644 $srcdir/eschalon2.desktop \
$pkgdir/usr/share/applications/eschalon2.desktop
# Install Game Launcher
install -D -m 755 $srcdir/eschalon2.launcher \
$pkgdir/usr/bin/eschalon2
# Install License
install -D -m 644 $srcdir/eschalon_book_2/license.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt
# Set groupship to :games
chown -R :games $pkgdir/opt/Eschalon2
chmod -R g+rwX $pkgdir/opt/Eschalon2
Best,
CThe url is wrong. That is not a tarball, it is an html file.
Edit: unless you have a better link, it looks like the source needs to be downloaded manually from the site.
Edit2: after manually downloading the tarball, it "built" fine. I did run into an issue of running out of space on my /tmp partition while compressing it though. The pkg is over 1GB.
Removing the no longer needed tarballs and running `makepkg -ef` fixed that issue.
Also note, that this PKGBUILD should be modified. All the work here should be moved to the "install" function rather than the "build" function as there is nothing to build.
WARNING: after futzing with that I thought I'd install it to see what the game was. It is a "trial version only" of a program that, at least in my case, failed miserably, but only after changing my video mode. Egh, that goes right in the bit bucket.
Last edited by Trilby (2012-07-15 22:08:02) -
I purchased tv shows for my son over 4th of July weekend from iTunes on my iPad...he has been watching with no problem...yesterday I backed up my iPad and the videos were taken off while I was syncing it. Error coming up states " warning some of the videos in your iTunes library including video "Dora" were not copied to the iPad "ellen's iPad " because they cannot be played on this iPad was not copied because the video format is not supported by the iPad.....makes no sense since he watched the video on Friday on my iPad...I went into the properties of the video and under the summary tab states kind of video is mpeg-4video file...went into the folder on my pc and the file is listed as a m4v file...under the tab tv shows when my iPad is connected I have it checked to sync tv shows and to automatically include "all" episodes of "all shows" ....
I am using version 4.3.4 on my iPad and iTunes version 10.4 ...I even restored back to the original settings and still did not work....called apple twice yesterday and spoke to 2 different people and no one could help me.....I am able to load a movie from my pc to my iPad with no problem and the movie is a mpeg-4video file....totally clueless...I kept having a similar problem - 3 out of the 10 videos I had on iTunes wouldn't sync. They were in the right format and I KNEW they worked on my iPod because I'd RECORDED them on my iPod. I finally figured out what to do! Go to the movies in your iTunes library. Click on one that does not sync. Click on "Advanced" at the top of iTunes and choose "Create iPod or iPhone version". Once that's finished, be sure you delete the old version so you don't keep getting the error (or have 2 copies of the same video) and sync. This should eliminate the problem. At least it did for me!
-
First PKGBUILD: 'cannot stat' error for source file
I'm attempting my first PKGBUILD and I've run into some trouble.
PKGBUILD:
# Maintainer: Simon Wydooghe <hyperbaton at gmail dot com>
pkgname=vpcs
pkgver=0.21a
pkgrel=1
pkgdesc="Simulates up to 9 computers for ping/traceroute purposes."
arch=('i686' 'x86_64')
url="http://vpcs.sourceforge.net/"
license=('GPL')
makedepends=('p7zip')
source=('${pkgname}_${pkgver}.7z::http://downloads.sourceforge.net/project/${pkgname}/binary/${pkgver}/${pkgname}_${pkgver}.7z')
noextract=('${pkgname}_${pkgver}.7z')
md5sums=('dac71bdf9d04a3b7e69fe25b15f1ee5c')
package() {
local vpcsdir="opt/vpcs"
local binary="vpcs32"
cd "${srcdir}"
mv ${pkgname}_${pkgver}.7z.part ${pkgname}_${pkgver}.7z
7z e -o"${pkgname}-${pkgver}" "${pkgname}_${pkgver}.7z"
cd "${pkgname}-{$pkgver}"
mv startup.vpc readme.txt ${pkgdir}/${vpcsdir}
if [ $CARCH = "x86_64" ]; then
binary="vpcs64"
fi
mv ${binary} ${pkgdir}/${vpcsdir}/vpcs
chmod +x ${pkgdir}/${vpcsdir}/vpcs
Error when running makepkg:
[hb@hb-desktop vpcs]$ makepkg
==> Making package: vpcs 0.21a-1 (Mon Apr 4 15:48:07 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading ${pkgname}_${pkgver}.7z...
--2011-04-04 15:48:07-- http://downloads.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://switch.dl.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z [following]
--2011-04-04 15:48:07-- http://switch.dl.sourceforge.net/project/vpcs/binary/0.21a/vpcs_0.21a.7z
Resolving switch.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
Connecting to switch.dl.sourceforge.net|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1168714 (1.1M) [application/x-7z-compressed]
Saving to: “vpcs_0.21a.7z.part”
100%[======================================================================================================================================>] 1,168,714 1.10M/s in 1.0s
2011-04-04 15:48:08 (1.10 MB/s) - “vpcs_0.21a.7z.part” saved [1168714/1168714]
mv: cannot stat `/home/hb/abs/vpcs/${pkgname}_${pkgver}.7z.part': No such file or directory
==> ERROR: Failure while downloading ${pkgname}_${pkgver}.7z
Aborting...
So it seems that '.part' is being added to the source filename when being downloaded by makepkg. I added '${pkgname}_${pkgver}.7z::' in front of the source url to rename the file (I believe that's correct, no?).
This is the PKGBUILD directory after running makepkg:
[hb@hb-desktop vpcs]$ ls -l
total 1152
-rw-r--r-- 1 hb hb 884 Apr 4 15:47 PKGBUILD
drwxr-xr-x 2 hb hb 4096 Apr 4 16:01 src
-rw-r--r-- 1 hb hb 1168714 Mar 8 04:18 vpcs_0.21a.7z.part
I can stat the file in question:
[hb@hb-desktop vpcs]$ stat vpcs_0.21a.7z.part
File: `vpcs_0.21a.7z.part'
Size: 1168714 Blocks: 2288 IO Block: 4096 regular file
Device: 805h/2053d Inode: 1046825 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ hb) Gid: ( 1000/ hb)
Access: 2011-04-04 16:01:22.000000000 +0200
Modify: 2011-03-08 04:18:48.000000000 +0100
Change: 2011-04-04 16:01:22.477037824 +0200
Birth: -
So can someone tell me which moronic error I've made this time? :-)Excellent, thanks, that did the trick!
While I've opened this topic anyway, I have another question. The application in question uses a configuration file which it only looks for in the directory the executable resides in (unless a specific command line argument is given). For this reason, it seems most logical to place the application under /opt. But /opt is not in $PATH by default. What is the best way to add the directory /opt/vpcs to $PATH but to also remove it from $PATH when the application is removed?
Last edited by HyperBaton (2011-04-04 14:33:45) -
I cannot log into iCloud using my Apple username and password. I keep getting an error message that states "CANNOT SIGN UP - The Apple ID is valid but is not an iCloud account." How do I fix this?
You are getting this message because you are attempting to create an iCloud account on a PC. You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.2) or higher. After creating your account on one of these devices you will then be able to sign into the account on your PC.
-
/bin/cp: cannot stat 'a/b/c/* : No such file or directory error
When I attempt the following
String cmdCopy[] = {"cp'", "-r", "a/b/c/*", "."};
Process p = Runtime.getRuntime().exec(cmdCopy);
I get the following error
/bin/cp: cannot stat 'a/b/c/* : No such file or directoryIs there an a/b/c directory in the structure where you are starting your java program from?
--John -
When I plug my hdmi lightening converter into my iphone5 I get an error message that states " downloading accessory firmware. Your accessory will not function until download completes. How can I fix this?
Don't know what changed today but it downloaded and installed on the shuffle. So far so good.
-
unable to use yaourt to install applications.e.x
# yaourt -S picasa
-> Downloading picasa-3.0-current.i386.rpm...
mv: cannot stat `/tmp/yaourt-tmp-root/aur-picasa/picasa-3.0-current.i386.rpm.part': No such file or directory
==> ERROR: Failure while downloading picasa-3.0-current.i386.rpm
Aborting...
==> ERROR: Makepkg was unable to build picasa.
Last edited by ringfin (2011-07-09 00:00:10)does the folder /tmp/yaourt-tmp-root/ exist?
It seems like it's unable to download and/or save the package
Also, are you trying to run yaourt as root? If so, that's not a very good idea
Last edited by CheesyBeef (2011-07-08 19:04:56) -
Situation is this.. was using 8.1.6 EE and Oracle Portal.. was able to get the Oracle Portal page up and after a while the application died.. this happened numerous times. Found in one of these forums that a bug existed (UTL_HTTP) and recommended going to 8.1.7 EE because of a patch. I migrated my 8.1.6 EE to 8.1.7 EE(made sure procedures & packages were valid). I'm able to bring up the Oracle Portal page but when I go to login I get this:
Error: You cannot login because an error occurred while retrieving the login URL. (WWC-41441)
Thoughts?Hi,
I ran ssodatan again and got the following error:
ERROR: Setting Login Server Partner App
ORA-06508: PL/SQL: could not find program unit being called
I then found out that the wwsec_sso_enabler_private in the SSO
schema is invalid and this was causing the above error. I tried
recompiling the package but got the following error:
Errors for PACKAGE BODY WWSEC_SSO_ENABLER_PRIVATE:
LINE/COL ERROR
151/6 PL/SQL: SQL Statement ignored
151/13 PLS-00320: the declaration of the type of this
expression is incomplete or malformed
151/20 PLS-00336: non-object-table "SECI" illegal in this
context
160/4 PL/SQL: SQL Statement ignored
643/6 PL/SQL: SQL Statement ignored
643/13 PLS-00320: the declaration of the type of this
expression is incomplete or malformed
643/20 PLS-00336: non-object-table "SECI" illegal in this
context
LINE/COL ERROR
651/4 PL/SQL: SQL Statement ignored
713/4 PL/SQL: SQL Statement ignored
713/50 PLS-00382: expression is of wrong type
745/3 PL/SQL: SQL Statement ignored
746/10 PLS-00389: table, view or alias name "ENBCONFIG" not
allowed in this context
The same package in the Portal schema is valid. Will an
export of this package from a working instance and an import into
the above instance solve this problem?
Thanks and Regards,
Rupesh -
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. -
Hi all,
I am new to ActionScript and Flash, and I am getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
at jessicaclucas_fla::MainTimeline/stopResumescroll()
I have several different clips in one movie that have scrolling content. When I click a button to move to a different clip that doesn’t have a certain scroll, it gives me this error. I cannot figure out how to fix this. You can see the site I am working on: http://www.jessicaclucas.com. I would really appreciate some help! Thank you in advance. Here is the code:
//Import TweenMax and the plugin for the blur filter
import gs.TweenMax;
import gs.plugins.BlurFilterPlugin;
//Save the content’s and mask’s height.
//Assign your own content height here!!
var RESUMECONTENT_HEIGHT:Number = 1500;
var RESUME_HEIGHT:Number = 450;
//We want to know what was the previous y coordinate of the content (for the animation)
var oldResumeY:Number = myResumecontent.y;
//Position the content on the top left corner of the mask
myResumecontent.x = myResume.x;
myResumecontent.y = myResume.y;
//Set the mask to our content
myResumecontent.mask = myResume;
//Create a rectangle that will act as the Resumebounds to the scrollMC.
//This way the scrollMC can only be dragged along the line.
var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
//We want to know when the user is Resumescrolling
var Resumescrolling:Boolean = false;
//Listen when the user is holding the mouse down on the scrollMC
resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
//Listen when the user releases the mouse button
stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
//This function is called when the user is dragging the scrollMC
function startResumescroll(e:Event):void {
//Set Resumescrolling to true
Resumescrolling = true;
//Start dragging the scrollMC
resumescrollMC.startDrag(false,Resumebounds);
//This function is called when the user stops dragging the scrollMC
function stopResumescroll(e:Event):void {
//Set Resumescrolling to false
Resumescrolling = false;
//Stop the drag
resumescrollMC.stopDrag();
//Add ENTER_FRAME to animate the scroll
addEventListener(Event.ENTER_FRAME, enterResumeHandler);
//This function is called in each frame
function enterResumeHandler(e:Event):void {
//Check if we are Resumescrolling
if (Resumescrolling == true) {
//Calculate the distance how far the scrollMC is from the top
var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
//Calculate the percentage of the distance from the line height.
//So when the scrollMC is on top, percentage is 0 and when its
//at the bottom the percentage is 1.
var percentage:Number = distance / RESUME_HEIGHT;
//Save the old y coordinate
oldResumeY = myResumecontent.y;
//Calculate a new y target coordinate for the content.
//We subtract the mask’s height from the contentHeight.
//Otherwise the content would move too far up when we scroll down.
//Remove the subraction to see for yourself!
var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
//We only want to animate the scroll if the old y is different from the new y.
//In our movie we animate the scroll if the difference is bigger than 5 pixels.
if (Math.abs(oldResumeY - targetY) > 5) {
//Tween the content to the new location.
//Call the function ResumetweenFinished() when the tween is complete.
TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
//This function is called when the tween is finished
function ResumetweenFinished():void {
//Tween the content back to “normal” (= remove blur)
TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}});Hi again,
Thank you for helping. I really appreciate it! Would it be easier to say, if resumescrollMC exists, then execute these functions? I was not able to figure out the null statement from your post. Here is what I am trying (though I am not sure it is possible). I declared the var resumescrollMC, and then I tried to put pretty much the entire code into an if (resumescrollMC == true) since this code only needs to be completed when resumescrollMC is on the stage. It is not working the way I have tried, but I am assuming I am setting up the code incorrectly. Or, an if statement is not supposed to be issued to an object:
//Import TweenMax and the plugin for the blur filter
import gs.TweenMax2;
import gs.plugins.BlurFilterPlugin2;
//Save the content's and mask's height.
//Assign your own content height here!!
var RESUMECONTENT_HEIGHT:Number = 1500;
var RESUME_HEIGHT:Number = 450;
var resumescrollMC:MovieClip;
if (resumescrollMC == true) {
//We want to know what was the previous y coordinate of the content (for the animation)
var oldResumeY:Number = myResumecontent.y;
//Position the content on the top left corner of the mask
myResumecontent.x = myResume.x;
myResumecontent.y = myResume.y;
//Set the mask to our content
myResumecontent.mask = myResume;
//Create a rectangle that will act as the Resumebounds to the scrollMC.
//This way the scrollMC can only be dragged along the line.
var Resumebounds:Rectangle = new Rectangle(resumescrollMC.x,resumescrollMC.y,0,450);
//We want to know when the user is Resumescrolling
var Resumescrolling:Boolean = false;
//Listen when the user is holding the mouse down on the scrollMC
resumescrollMC.addEventListener(MouseEvent.MOUSE_DOWN, startResumescroll);
//Listen when the user releases the mouse button
stage.addEventListener(MouseEvent.MOUSE_UP, stopResumescroll);
//This function is called when the user is dragging the scrollMC
function startResumescroll(e:Event):void {
//Set Resumescrolling to true
Resumescrolling = true;
//Start dragging the scrollMC
resumescrollMC.startDrag(false,Resumebounds);
//This function is called when the user stops dragging the scrollMC
function stopResumescroll(e:Event):void {
//Set Resumescrolling to false
Resumescrolling = false;
//Stop the drag
resumescrollMC.stopDrag();
//Add ENTER_FRAME to animate the scroll
addEventListener(Event.ENTER_FRAME, enterResumeHandler);
//This function is called in each frame
function enterResumeHandler(e:Event):void {
//Check if we are Resumescrolling
if (Resumescrolling == true) {
//Calculate the distance how far the scrollMC is from the top
var distance:Number = Math.round(resumescrollMC.y - Resumebounds.y);
//Calculate the percentage of the distance from the line height.
//So when the scrollMC is on top, percentage is 0 and when its
//at the bottom the percentage is 1.
var percentage:Number = distance / RESUME_HEIGHT;
//Save the old y coordinate
oldResumeY = myResumecontent.y;
//Calculate a new y target coordinate for the content.
//We subtract the mask's height from the contentHeight.
//Otherwise the content would move too far up when we scroll down.
//Remove the subraction to see for yourself!
var targetY:Number = -((RESUMECONTENT_HEIGHT - RESUME_HEIGHT) * percentage) + myResume.y;
//We only want to animate the scroll if the old y is different from the new y.
//In our movie we animate the scroll if the difference is bigger than 5 pixels.
if (Math.abs(oldResumeY - targetY) > 5) {
//Tween the content to the new location.
//Call the function ResumetweenFinished() when the tween is complete.
TweenMax.to(myResumecontent, 0.3, {y: targetY, blurFilter:{blurX:22, blurY:22}, onComplete: ResumetweenFinished});
//This function is called when the tween is finished
function ResumetweenFinished():void {
//Tween the content back to "normal" (= remove blur)
TweenMax.to(myResumecontent, 0.3, {blurFilter:{blurX:0, blurY:0}}); -
Cannot stat file & other weird issues
I don't really know where to start with this issue, and may cross-post it on a couple of other forums if the need arises, but I thought I'd start off by asking the ArchLinux gurus for any insight.
I'm having some strange issues with the setup I'm using at work, but it's fairly complex and specific so I'm not sure where to start looking for the solution. I'm running an ArchLinux 32-bit guest via VirtualBox on a Windows 7 64-bit host. The ArchLinux guest is a vanilla install + maybe sudo, rsync, and the virtualbox additions packages. I'm sync'd to my company's ginormous Dropbox folder using the standard Windows client, and I share the entire Dropbox folder to the Arch guest using a persistent auto-mounted vboxsf share defined in /etc/fstab. The guest is running a pretty standard (basically straight out of the Arch Wiki LAMP article) setup of Apache, MySQL, PHP, and phpmyadmin. Because their websites are all backed up to Dropbox, I frequently use mount --bind to mount a local site over /srv/http on my Arch Linux guest for development.
With this in mind, my Apache server is frequently serving up old pages. I know it is the Apache server because clearing my browser's cache completely doesn't change the outcome, and if I open up the page for editing (in Windows or sometimes in Linux... see below) I see the latest version. Some of the time this issue appears to be the Linux Guest's fault (perhaps something Virtualbox is doing wrong?) because if I ls the directory where the file in question resides, among the error output I will get "cannot stat" for that particular file, and it won't be colorized. Other times, I haven't been able to isolate any strange symptoms (other than getting an outdated page in my browser). In any case, I have tried several things while troubleshooting -- clear browser cache, remount the bind, restart Apache/MySQL -- and the only thing that seems to work is rebooting the VM.
My question, in short, is where do I start looking for debugging this? Has anyone experienced anything similar? Anyone have an educated guess where I might look for issues? TIA.The other thing of note. The MacBook is connected via 802.11g. The iMac and MacBook Pro are connected via 802.11n.
-
Cp: cannot stat `/DISCARD/': No such file or directory
I am under process of applying HTTP server patches in our 11i environement, i am getting below error.
*** Starting rebuild for libraries and executables
rdbms/lib:ins_rdbms.mk:client_sharedlib,ioracle,utilities
make -f ins_rdbms.mk client_sharedlib ioracle utilities
/u01/oracle/ora/iAS/bin/genclntsh
cp: cannot stat `/DISCARD/': No such file or directoryHi,
cp: cannot stat `/DISCARD/': No such file or directoryThis error can be safely ignored.
Note: 388254.1 - cp: cannot stat `/DISCARD/': No such file or directory
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=388254.1
Regards,
Hussein -
Is there a known bug when displaying a chart component that is defined in a module. When attempting to display a chart component defined in a module it crashes indicating Error #1009: Cannot access a property or method of a null object reference.
It crashes at the following location in ChartBase.as. Somehow when loading the chart the styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase"); returns null so when using the setStyle methods the exception occurs.
private function initStyles():Boolean
HaloDefaults.init(styleManager);
var chartBaseStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.chartClasses.ChartBase");
chartBaseStyle.setStyle("chartSeriesStyles", HaloDefaults.chartBaseChartSeriesStyles);
chartBaseStyle.setStyle("fill", new SolidColor(0xFFFFFF, 0));
chartBaseStyle.setStyle("calloutStroke", new SolidColorStroke(0x888888,2));
return true;
Added note: There is a chart component in the application that works fine. The only way I can get the chart in the module to display is to add the following workaround preinitializer but it severly impacts the loading of the module. Is there a way around this.
protected function preinitializeHandler(event:FlexEvent):void
var styleObjects:Array = FlexGlobals.topLevelApplication.styleManager.selectors;
for each(var styleObj:String in styleObjects) {
var style:CSSStyleDeclaration = FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration(styleObj);
styleManager.setStyleDeclaration(styleObj, style, true);
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.chartClasses::ChartBase/initStyles()[E:\dev\4.y\frameworks\projects\charts\src\ mx\charts\chartClasses\ChartBase.as:1862]
at mx.charts.chartClasses::ChartBase/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBas e.as:1894]
at mx.charts.chartClasses::PolarChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\PolarCha rt.as:223]
at mx.charts::PieChart/set moduleFactory()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\PieChart.as:203]
at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1590]
at spark.components::Group/addElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\com ponents\Group.as:1387]
at spark.components::SkinnableContainer/addElementAt()[E:\dev\4.y\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:775]
at mx.states::AddItems/addItemsToContentHolder()[E:\dev\4.y\frameworks\projects\framework\sr c\mx\states\AddItems.as:782]
at mx.states::AddItems/apply()[E:\dev\4.y\frameworks\projects\framework\src\mx\states\AddIte ms.as:563]
at mx.core::UIComponent/applyState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:10741]
at mx.core::UIComponent/commitCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:10487]
at mx.core::UIComponent/setCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\co re\UIComponent.as:10323]
at mx.core::UIComponent/set currentState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:6425]
at BloodPressure/bloodpressureDg_selectionChangeHandler()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:311]
at BloodPressure/__bloodpressureDg_selectionChange()[C:\Users\Mark\Adobe Flash Builder 4.7\BiometricsFlexProject\src\BloodPressure.mxml:41]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
at spark.components::DataGrid/commitInteractiveSelection()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\DataGrid.as:3634]
at spark.components::DataGrid/setSelectionAnchorCaret()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\DataGrid.as:4210]
at spark.components::DataGrid/grid_mouseDownHandler()[E:\dev\4.y\frameworks\projects\spark\s rc\spark\components\DataGrid.as:4679]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core \UIComponent.as:13152]
at spark.components::Grid/dispatchGridEvent()[E:\dev\4.y\frameworks\projects\spark\src\spark \components\Grid.as:4038]
at spark.components::Grid/grid_mouseDownDragUpHandler()[E:\dev\4.y\frameworks\projects\spark \src\spark\components\Grid.as:3883]
at Function/<anonymous>()[E:\dev\4.y\frameworks\projects\spark\src\spark\utils\MouseEventUti l.as:84]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.y\frameworks\projects\framework\s rc\mx\managers\SystemManager.as:2918]It appears as though this error has been going on for a while. See the following link http://forums.adobe.com/thread/941849
-
Help!
Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is reachable from classpath and/or sourcepath.
hi,
I am Yun Dai P.R.China nanchang
[email protected]
when I compile the *.jsp, I always get this error message,
My software settings:
Jdeveloper 3.1;
Oracle 8i RDBMS;
Win2000 server (sp1);
how can I solve this problem?
featureBean.java and feature.jsp:
feature.jsp:
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.common.appmgr.*, oracle.jbo.html.databeans.*" %>
<%
// make sure the application is registered
oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session, "package1_Package1Module");
%>
<html>
<head>
<LINK REL=STYLESHEET TYPE="text/css" HREF="<%=session.getValue("CSSURL")%>">
<title>Welcome to JDeveloper Auctions</title>
</head>
<body bgcolor="#FFFFFF" TEXT="black" BGCOLOR="#FFFFFF" LINK="#336699" ALINK="#6699CC" >
<p><br>
<table BORDER=0 CELLSPACING=0 CELLPADDING=4 WIDTH="100%" >
<tr><td BGCOLOR="#336699"><b><font face="Arial" color="#FFFFFF" >Today's Featured Items</font></b></td></tr>
</table>
<br>
<center>
<!-- Features Begin -->
<jsp:useBean class="auctionbeans.featureBean" id="features" scope="request" >
<%
features.initialize(application,session, request,response,out,"package1_Package1Module.srchItemsView");
features.render();
%>
</jsp:useBean>
<!-- Features End -->
</center>
</body> </html>
featureBean.java
package auctionbeans;
import java.io.*;
import oracle.jbo.*;
import oracle.jdeveloper.html.*;
public class featureBean extends oracle.jdeveloper.html.DataWebBeanImpl {
public void render() {
try
out.println( "<td> <!-- left panel featured items -->");
out.println( "");
out.println( "<font face=verdana,arial,helvetica size=-1><b>Today's Featured Items...</b></font>");
out.println( "<br clear=left>");
out.println( "");
out.println( "");
out.println( "<!-- item 1 -->");
out.println( "");
out.println( "<p>");
out.println( "<A href=\"srch_results.jsp?QRY=cat_id=10\">");
out.println( "<font face=verdana,arial,helvetica size=-1><b>In Software</b></font><br>");
out.println( "</a>");
out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Oracle JDeveloper 3.0</font></strong><br>");
out.println( "");
out.println( "");
out.println( "");
out.println( "<table border=0 align=left cellpadding=0 cellspacing=0>");
out.println( "<tr>");
out.println( "<td>");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">");
out.println( "<IMG border=0 src=\"/bc4jauctions/webapp/images/jdevlogo.gif\"></a>");
out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
out.println( "");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=39\">Details</a>");
out.println( "");
out.println( "</font></center>");
out.println( "</td></tr></table>");
out.println( "");
out.println( "<b>Oracle JDeveloper Suite 3.0</b> provides a complete and integrated Java development and deployment environment for");
out.println( "creating enterprise-scale, high performance e-bus iness applications.");
out.println( "<br>");
out.println( "<br>");
out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=10\">Software</a>");
out.println( "<br clear=left>");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "<!-- item 3 --></p>");
out.println( "<p>");
out.println( "<font face=verdana,arial,helvetica size=-1><b>");
out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
out.println( "In");
out.println( " Automotive</b></font><br></A>");
out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 2000 BMW Z8</font></strong><br>");
out.println( "");
out.println( "");
out.println( "");
out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">");
out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/z8-sm.gif\" ></a>");
out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
out.println( "");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=1\">Details</a>");
out.println( "");
out.println( "</font></center>");
out.println( "</td></tr></table> <b>A 2000 BMW Z8 Featured in the new James Bond Thriller,");
out.println( "<a href=\"BidsView_Browse.jsp?ITEMROWINDEX=14\">'The World is Not Enough'</a></b> is now available! Are you looking for the");
out.println( " quintessence, the ultimate passion for driving? The");
out.println( " answer to this is: The BMW 8 Series coup? This");
out.println( " exquisite sports coupe turns mobility into an exhilarating");
out.println( " experience. The 8 Series is fascinating as a design");
out.println( " object, and is an impressive carrier of state-of-the-art");
out.println( " technology.</p>");
out.println( "<p>");
out.println( "");
out.println( "");
out.println( "");
out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
out.println( "<br clear=left>");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "<!-- item 3 --></p>");
out.println( "<p>");
out.println( "<font face=verdana,arial,helvetica size=-1><b>");
out.println( "<A href=\"srch_results.jsp?QRY=cat_id=1\">");
out.println( "In");
out.println( " Automotive</b></font><br></A>");
out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> 1998 Acura NSX</font></strong><br>");
out.println( "");
out.println( "");
out.println( "");
out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">");
out.println( "<IMG alt=\"BidsView_Browse.jsp?ITEMROWINDEX=2\" border=0 src=\"/bc4jauctions/webapp/images/acura-sm.jpg\" ></a>");
out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
out.println( "");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=2\">Details</a>");
out.println( " ");
out.println( "</font></center>");
out.println( "</td></tr></table><b>A 1998 Acura NSX");
out.println( " has been put up for auction!</b> <br>A vehicle like the NSX comes along perhaps once in a generation. It");
out.println( "represents everything that motivates a passionate driver to get into cars.");
out.println( "It's the chance to design an exotic car from the ground up.</p>");
out.p rintln( "<p> ");
out.println( " ");
out.println( " ");
out.println( "");
out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=1\">Automotive</a>");
out.println( "<br clear=left>");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "<!-- item 2 --></p>");
out.println( "");
out.println( "<p>");
out.println( "<A href=\"srch_results.jsp?QRY=cat_id=12\">");
out.println( "<font face=verdana,arial,helvetica size=-1><b>In Miscellaneous</b></font><br>");
out.println( "</a>");
out.println( "<strong><font face=verdana,arial,helvetica color=#cc6600> Lion King BroadWay Show Tickets</font></strong><br>");
out.println( "");
out.println( "");
out.println( "");
out.println( "<table border=0 align=left cellpadding=0 cellspacing=0><tr><td>");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">");
out.println( "<IMG alt=\"\" border=0 src=\"/bc4jauctions/webapp/images/lking-sm.jpg\" ></a>");
out.println( "</td></tr><tr><td><center><font face=verdana,arial,helvetica size=-2>");
out.println( "");
out.println( "<A href=\"BidsView_Browse.jsp?ITEMROWINDEX=45\">Details</a>");
out.println( "");
out.println( "</font></center>");
out.println( "</td></tr></table><b>Act now to get Lion King BroadWay Show Tickets!</b> <br>We have Lion King broadway tickets for the orchestra, mezzanine and balcony sections available");
out.println( " for delivery today! The lion king has been the hottest broadway show ticket since it opened, and");
out.println( " the demand has not let down since winning six Tony award nominations. The lion king on");
out.println( " broadway is a fantastic show that you must see to appreciate.");
out.println( "");
out.println( "<p>");
out.println( "Go to <A href=\"srch_results.jsp?QRY=cat_id=12\"><U><FONT");
out.println( " color=#0000ff>Miscellaneous</FONT></U></a>");
out.println( "<br clear=left>");
out.println( "");
out.println( "");
out.println( "<br>");
out.println( "<br>");
out.println( "<center>");
out.println( "<img src=\"/bc4jauctions/webapp/images/bc4jvisa.gif\">");
out.println( "</center>");
out.println( "<br>");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "</td>");
out.println( "");
out.println( "");
out.println( "");
out.println( "");
out.println( "<!-- Left panel end -->");
out.println( "");
} catch(Exception ex)
throw new RuntimeException(ex.getMessage());
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sarantos:
I had the same problem!What you have to do is to remove this statement from the import of every jsp (in the very first tag).<HR></BLOCKQUOTE>
I tried to do what you propose, it been compiled, but works not properly
null
Maybe you are looking for
-
When I try to burn CDs or insert CDs into my iMac, the slot/drive will not let me enter a CD. Just yesterday it was working, now it isn't. I have tried restarting the computer, turning it off, waiting a while, holding down the eject, etc. There is no
-
Documentation or Blog on using java classes in idm
Hi all, I am new to this environment. And i would like to know how to use the java methods in rules, and how write java classes for customised purpose. i.e writing the ones using the IDM provided package such as getting users from session cache, and
-
How this retirement will affect Shared review users?
How this retirement will affect Shared review users? For example, when Acrobat servers have problem and shared review users cannot download files from email invitation, Workspaces is where the users can log in and download the files. If without Works
-
Como arreglar error 4001de itunes match
NO HE PODIDO USAR iTUNES MATCH
-
"If you've purchased an auto-renewing subscription....it will be listed under the Manage App Subscriptions section of your Account Information Screen." This section is not there, and a search comes up with no hits. Any ideas on how to check this?