4.1.1 SDK Problems with missing xpacket tags in sidecar XMP files
The current 4.1.1 SDK has problems with sidecar XMP files that don't have the xpacket headers and trailers, i.e:
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<?xpacket end='w'?>
is missing. Now, unfortunately Adobe Bridge CS2/CS3 does not export these xpackets in sidecar XMP files.
The standard, http://www.aiim.org/documents/standards/xmpspecification.pdf, is also very vague about it all:
● Write external metadata as though it were embedded and then had the XMP Packets
extracted and catenated by a postprocessor.
The grammar is strange(past tense had) and the spec implies that the xpacket should be extracted and again catenated... Someone should review this document and clearly state if xpacket statements should be in sidecar files or not. I suspect myself that they should be there, but the standard is very vague.
Anyway, there are two places in the SDK code where changes might be needed:
XMPFiles::Initialize has XMP_Asserts in case the xpacket header/trailer is missing, but the underlying assert is only active in debug builds.
XMPScanner::PacketMachine::FindNextPacket () also has in its truth table the assumption that the xpackets exist.
There could be even other places in the code that assumes that the xpacket tags are present in all files, which includes text XMP sidecar files.
Anyway.
a) Shouldn't bridge export the xpacket tags? Same with any other application?
b) If the spec is vague, then the SDK should not assume that the xpacket tags are present.
Any comments? Has someone already fixed this issue as I suspect a lot of apps using the the XMP SDK would break concerning reading XMP sidecar files? Thx, Kent
I was able to work around the problem by creating a mapped view of the .xmp file (this creates an array in memory backed by the file on disk, so there's no need to read the file into a separate internal buffer), and constructing the SXMPMeta object directly from the buffer. (The ctor for that class calls ParseFromBuffer, so this is the same thing as was suggested by other messages in this thread.)
It seems that Adobe needs to do one of these things:
(1) say that Bridge CS3 has a bug, and agree that Bridge CS3 should include a proper xpacket header when writing xmp sidecar files
(2) say that the XMP Toolkit has a bug, and that the SDK should be able to parse sidecar files without an xpacket header, and agree to fix the toolkit
(3) say that Bridge CS3 and the XMP Toolkit behave as expected, but then provide a sequence of steps by which users of the XMP Toolkit are expected to read xmp sidecar files written by Bridge CS3
Does Bridge CS4 write an xpacket header to the xmp sidecar files?
Maybe what I could do is create a custom file handler for .xmp sidecar files, so I could use the SXMPFiles for everything, instead of having to special-case .xmp files.
My needs are pretty modest though, and it might be just as simple to use the MS DOM-based XML parser for load the xmp sidecar file. I bet I could get the data I need (only the "Rating" for now) using a simple XPath expression.
-Matt
Similar Messages
-
I have one problem with Data Guard. My archive log files are not applied.
I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
In Enterprise Manager on Primary database it looks ok. I get the following message Data Guard status Normal
But as I wrote above the archive log files are not applied
After I created the Physical Standby database, I have also done:
1. I connected to the Physical Standby database instance.
CONNECT SYS/SYS@luda AS SYSDBA
2. I started the Oracle instance at the Physical Standby database without mounting the database.
STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
3. I mounted the Physical Standby database:
ALTER DATABASE MOUNT STANDBY DATABASE
4. I started redo apply on Physical Standby database
alter database recover managed standby database disconnect from session
5. I switched the log files on Physical Standby database
alter system switch logfile
6. I verified the redo data was received and archived on Physical Standby database
select sequence#, first_time, next_time from v$archived_log order by sequence#
SEQUENCE# FIRST_TIME NEXT_TIME
3 2006-06-27 2006-06-27
4 2006-06-27 2006-06-27
5 2006-06-27 2006-06-27
6 2006-06-27 2006-06-27
7 2006-06-27 2006-06-27
8 2006-06-27 2006-06-27
7. I verified the archived redo log files were applied on Physical Standby database
select sequence#,applied from v$archived_log;
SEQUENCE# APP
4 NO
3 NO
5 NO
6 NO
7 NO
8 NO
8. on Physical Standby database
select * from v$archive_gap;
No rows
9. on Physical Standby database
SELECT MESSAGE FROM V$DATAGUARD_STATUS;
MESSAGE
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Attempt to start background Managed Standby Recovery process
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
MRP0: Background Media Recovery terminated with error 1110
MRP0: Background Media Recovery process shutdown
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[1]: Assigned to RFS process 2148
RFS[1]: Identified database type as 'physical standby'
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 2384
RFS[2]: Identified database type as 'physical standby'
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[3]: Assigned to RFS process 3188
RFS[3]: Identified database type as 'physical standby'
Primary database is in MAXIMUM PERFORMANCE mode
Primary database is in MAXIMUM PERFORMANCE mode
RFS[3]: No standby redo logfiles created
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[4]: Assigned to RFS process 3168
RFS[4]: Identified database type as 'physical standby'
RFS[4]: No standby redo logfiles created
Primary database is in MAXIMUM PERFORMANCE mode
RFS[3]: No standby redo logfiles created
10. on Physical Standby database
SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 1 9 13664 2
RFS IDLE 0 0 0 0
10) on Primary database:
select message from v$dataguard_status;
MESSAGE
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
ARCm: Becoming the 'no FAL' ARCH
ARCm: Becoming the 'no SRL' ARCH
ARCd: Becoming the heartbeat ARCH
Error 1034 received logging on to the standby
Error 1034 received logging on to the standby
LGWR: Error 1034 creating archivelog file 'luda'
LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
11)on primary db
select name,sequence#,applied from v$archived_log;
NAME SEQUENCE# APP
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
Luda 4 NO
Luda 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
Luda 5 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
Luda 6 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
Luda 7 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
Luda 8 NO
12) on standby db
select name,sequence#,applied from v$archived_log;
NAME SEQUENCE# APP
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
13) my init.ora files
On standby db
irina.__db_cache_size=79691776
irina.__java_pool_size=4194304
irina.__large_pool_size=4194304
irina.__shared_pool_size=75497472
irina.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='luda','irina'
*.db_name='irina'
*.db_unique_name='luda'
*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
*.fal_client='luda'
*.fal_server='irina'
*.job_queue_processes=10
*.log_archive_config='DG_CONFIG=(irina,luda)'
*.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
*.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.standby_file_management='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
On primary db
irina.__db_cache_size=79691776
irina.__java_pool_size=4194304
irina.__large_pool_size=4194304
irina.__shared_pool_size=75497472
irina.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
*.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_file_name_convert='luda','irina'
*.db_name='irina'
*.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
*.fal_client='irina'
*.fal_server='luda'
*.job_queue_processes=10
*.log_archive_config='DG_CONFIG=(irina,luda)'
*.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
*.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.standby_file_management='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
Please help me!!!!Hi,
After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
In another session 'show configuration' results in the following, confirming that the enable succeeded.
DGMGRL> show configuration
Configuration
Name: avhtest
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
avhtest - Primary database
avhtestls53 - Physical standby database
Current status for "avhtest":
Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
It there anybody that experienced the same problem and/or knows the solution to this?
With kind regards,
Martin Schaap -
I have CS4 Ilustrator and am having problems with gradient banding. I'm ripping files through Wasatch 6.7 to a Roland SC-540 printer. Is there a fix for this? Please let me know, I have been asking here for a few days here and no answers yet? Josh
I have CS4 Ilustrator and am having problems with gradient banding. I'm ripping files through Wasatch 6.7 to a Roland SC-540 printer. Is there a fix for this? Please let me know, I have been asking here for a few days here and no answers yet? Josh
-
I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?
By doing a Google search.
-
Problem with InputSelect Data Tag if there is no register in database
Hello all,
I4m working with Oracle JDeveloper 3.2.2 and I have a problem with InputSelect Data Tag.
When I tried to access a JSP page with this object and there was n't a record at the table, an error occurred.All the input tags operate on rows in the cache. Prior to using the input tags, use the Row tag with the 'Create' option to make sure you have a valid row.
-
Problem with missing colors when printing
It has been sugested by HP that I try this forum for help.
The following is a copy of the email I sent them which describes my problem, I hopesomeone can help! Thanks.
language_code : en
language : English
Country of Residence : France
product_line : 83
product_oid : 59868
product_name : HP Deskjet 840c Printer
part_number : C6414K,C6414J,C6414A,C6414G,C6414N,C6414H
purchase month : 8
purchase year : 1996
problem area : color and print quality problems
serial number : [Text removed for privacy]
operating system : Microsoft Windows Vista Home Premium 32
How is your product connected to your PC? : USB Cable
problem description : When I try to print a page containing coloured items the coloured parts fail to print. (The items are totally missing, they are not replaced by grey scale images) I have done all the usual things as per list:-
troubleshooting : 1) Rebooted my computer.
2) Disconnected the USB cable and reconnected it.
3) Changed the colour cartridge.
4) Examined the printer settings in the control Panel, colour is selected and all other settings seem normal.
5) De-selected the printer as the "Default Printer" and re-installed it.
6) Run software that checks the driver is up to date and it is.
7) Printed the built in test page "beautiful color made easy" only the header and footer print,no colour!
setting changes : No, nothing has been changed.
PS. I have owned my printer for many years and cannot remember the purchase date.
tech skill : Intermediate
first name : Grant
last name : W[text removed for privacy]
This question was solved.
View Solution.Hi - Go ahead and try the steps in this document. It will walk you through cleaning the contacts on both the cartridge and in the carriage. What can happen over time is ink residue can accumulate on the contacts preventing the ink cartridges from working properly. If this doesn't resolve the issue, try setting the cartridge with the nozzles face down on a damp paper towel for about 45 seconds just to resolve any problems with the ink nozzles.
Hope that helps.
Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
I am an HP employee. -
Problem with missing links.
Hi,
I've created similar topic in InDesign Server Developer forum section (http://www.adobeforums.com/webx/.59b70e8d). I post it here having hopes of possible solution in the range of scripting.
Company I work for is developing web application that processes InDesign documents (we use CS2 and CS3 servers).
We experience problem when users upload documents containing external links to some network paths and these network paths are inaccessible from our server. In this cases performance degrades drastically. For example document with 20 external links to network paths is opened by InDesignServer by 7 minutes, while the same document with external links to some local path is opened within 5 seconds.
I suggest that this degradation is caused by time InDesign Server is trying to access network path to check status of the link, as it can take a lot of time to assure that path is invalid.
Does anybody if I can do something via scripting to avoid that link lookup or make it shorted, and preserve that links in the same time?hi all,
> Does anybody if I can do something via scripting to avo id that link lookup
> or make it shorted, and preserve that links in the same time?
it's definitely a timeout problem. indesign tries to access these links.
i've the same problems with indesign desktop cs3 last occurrence with 5.0.3
haven't tested with 5.0.4.
haven't found a solution yet, but would greatly appreciate one!
regards,
gregor -
Problem with missing drivers on Pavilion G6-2260su
Hi,
I am experiencing some serious frustration due to problems with the hardware of that thing.
I istalled windows 7 64bit ultimate with service pack 1
However many of the hardware is not recognised - in particular the network/wireless card.
I have downloaded all the drivers/software from the hp support page however the following hardware still remain uninstalled:
Bluetooth Controller
Ethernet COntroller
Network controller
PCI device
SM Bus controller
2 of Universal Serial Bus Controller
Unknown device
when i try to install the wireless/network driver from the website it says that the hardware is not pluged in and it quits.
please help!
This question was solved.
View Solution.Hi:
You need to install the chipset driver at the link below. Frist download will take care of most of those devices.
http://support.amd.com/us/gpudownload/windows/Pages/raid_windows.aspx#2
Video:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=ob-105...
Audio:
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=32...
Ethernet:
Download and install the 6th one on the list.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTy...
Card reader:
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-102008-1&cc=us&dlc=en&lc=en...
Unknown is probably this:
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-82853-1&cc=us&dlc=en&lc=en
For the other devices, I need the hardware ID's to find the right drivers.
Please post them.
If you do not know how to find a hardware ID, please read the info at the link below for guidance.
http://www.devicedriverfinder.com/blog/device-drivers/how-to-check-the-hardware-id-for-a-windows-dev...
Paul -
Problem with missing labels in mission control since upgrading to Mountain Lio
Pressing F3 brings up all my open files/programs/apps, as it should. However, since I upgraded to Mountain Lion, the names of the files no longer appear when the mouse is hovered over them. This is quite annoying as I often work with a multitude of MS Word files at the same time and need to jump back and forth between then quickly. With Snow Leopard the name of each file would be clearly visible, now I have to click on each one, one at a time to try to find the one I'm looking for. Any suggestions?
Thanks and have a great day!Maybe just corrupted Disk Utility preferences ...
Open the Finder. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Preferences/com.apple.DiskUtility.plist
Click Go then move the com.apple.DiskUtility.plist file to the Trash.
Restart your Mac then try creating a .dmg file. -
Problems with loading Ressources out of a jar file
Hi Folks !
My current job for my university is to make some Java programms runnable as a WebStart Application. With most of the programms this was no problem. But i have a problem with one.
The gui of the program loads some icons out of the jar file with the following code:
try {
openIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/open.png"));
generateIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/generate.png"));
editIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/edit.png"));
propertiesIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/properties.png"));
alphabetIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/alphabet.png"));
cutIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/cut.png"));
saveIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/save.png"));
helpIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/help.png"));
aboutIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/about.png"));
exitIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/exit.png"));
startIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/start.png"));
stopIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/stop.png"));
preferencesIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/preferences.png"));
okIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/ok.png"));
noIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/no.png"));
clearIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/clear.png"));
plusIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/plus.png"));
minusIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/minus.png"));
overlapIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/overlap.png"));
canselIcon = new ImageIcon(ClassLoader.getSystemResource("guissstester/icons/cansel.png"));
catch(NullPointerException e){
JOptionPane.showMessageDialog(frame,
"There was an error while loading icon files. Probably the needed icon files are not present.",
"Missing icon files!", JOptionPane.ERROR_MESSAGE);
}When i start the program as a normal jar with
java -jar ssstester.jarAll Icons are loaded normaly. But when i start it as a WebStart Application i get the catch (NullPointerException e) error message "There was an error while loading icon files. Probably the needed icon files are not present. Missing icon files!".
So where is the problem ? Don't know if it is important, but the Application gets full rights in the jnlp File
<security>
<all-permissions/>
</security>Greetings and sorry for my horrible english,
ChristophThread.currentThread().getContextClassLoader().getResource(imageFilePath); to load the images than the one you are using right now
Edited by: Mayya on Jun 17, 2008 4:34 AM -
Problems with Sony NX3 AND Sony Z5 avi files
Very, very strange problem. I will try to give as much detail as possible so bear with me.
I currently edit with two different computers. One uses Premier 3 the other uses Premiere 6. I shoot with several different cameras, but for purposes of this discussion I will talk only about the Sony Z5 and the Sony NX3. I capture my footage on a CF card (Z5) or SD card (NX3)
All HD footage shoot with the Z5 and/or the NX 3 works fine on either system. However any SD footage that is over a certain length will not import into premiere 6 (if it's from the Z5) or the length of the footage will only be 2:37 (on footage from the NX3). However the SD footage from either camera will play perfectly on the system with Premiere 3.
Any ideas on what my problem with premiere 6 is?I caputured footage from my ZU1 yesterday that encountered time code breaks. They should not have been there. My only thought is that the breaks occured when I shut the camera down and started recording later.
Maybe... I assumed it was user error... I was wondering if perhaps a setting in the camera was causing the breaks when the camera powers down. -
Problem with Vision Builder and LabView: Error -1074395995, File not found
I have created an inspection with Vision Builder AI 2009 SP1. In it I load some pictures from the HDD and run some checks over it. It works fine. Then I have migrated it to LabView 2010, I get a message that the migration is successfull, but when I run the VI on LabView I get a fail status. I have been checking my program and I have found and error when I try to load the picture from file: Error -1074395995 occurred at IMAQ ReadImageAndVisionInfo
Possible reason(s): IMAQ Vision: File not found.
But I am not sure which file it refers to. At first I thought it was the picture I wanted to load, but I have checked the path and it is correct, so maybe it refers to another thing. What puzzles me most is that it works perfectly on Vision Builder and I have changed nothing in LabView, maybe it is a problem with the migration. Any clues?Here's a screenshot of what I'm talking about. Put a break point here and see what the path is and compare that with what Vision Builder AI is using (described where to find this in the previous post). You could find where this global is used to make debugging easier.
Hope this helps,
Brad
Attachments:
Generated Code.png 43 KB -
Strange noise problem with music layer after replacing the music file using script in CS6
Hey guys,
I got a strange problem. Sometime when I import a music file, or replace a music footage with another music file using the "replace()" or "importFile()" method, the music layer added one second noise at the beginning. like this,
Does anyone know what's going on here?
I'm using After Effects CS6 windows Server 2008 64bit.
Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Hi Myleniu,
Thanks for your replay. Actually, it doesn't matter what makes up my comp, this problem just randomly happen when I render any comp. For example, I have a comp named "noise", I run a script to replace the music then render it, I use a "for" loop to do this 5 times and the music noise problem just happen one time.
I'm starting to think that win server might be the problem. -
Hi helpers !@
im trying to load multiple external png files from a folder. the path for the images comes from an xml attribute and i got no problem with the path. The error message pops on when i try to add the loader into an array for later use and then when im done remove each child i created. There is something in my pratice that is not ok , i meen i know im wrong with at some point ! Duh theres an Error message for each loader i create .. .
ReferenceError: Error #1069: Property Loader not found on flash.display.LoaderInfo and there is no default value.
here some code , pls guide me !
function affichageM(){
var nodeM:XML;
for each ( nodeM in listeM ){
var reqM:String = localLogoM + nodeM.attribute("icon_max2");
var imageLoaderJ = new Loader();
imageLoaderJ.contentLoaderInfo.addEventListener(Event.INIT,addM);
imageLoaderJ.load(new URLRequest(reqM));
// just counting for fun
iNodeM ++;
function addM(e:Event){
try { var l_img:Loader = Loader(e.currentTarget.Loader);
l_img.name = "imageLoaderJ" + mc_ArrayImg.length().toString() ;
l_img.visible = false;
mc_ArrayImg.push(l_img);
mc_Jour.addChild(l_img);
//calling the fucntion that will animate all img in the array and had some text to them.....
drawMyImg(mc_ArrayMImg.length()-1);
catch (error:Error) {
//just counting errors for fun
iErreurM++;
var errorMessage:TextField = new TextField();
errorMessage.autoSize = TextFieldAutoSize.LEFT;
errorMessage.textColor = 0xFF0000;
errorMessage.text = error.message + " " + mc_Jour.numChildren + " " + mc_ArrayImg.length;
errorMessage.x = 10*iErreurM;
addChild(errorMessage);
return;Hi, I'm not sure you are on the correct forum. This is the Flash Player forum. When you first open your thread, look to your right "More like This" and perhaps one of those forums would be helpful. Perhaps the Flash forum?
Thanks,
eidnolb -
[JS CS3] Problem with iterating xml tags
Hello,
Below is a script that is supposed to find text in a document and then tag it with an xml tag. I have run into a problem, which if I solve in the way I know how, causes another problem.
When I iterate in a positive direction--i++--the first instance of the text (in this example "abc") is correctly tagged. But the second instance the tag recedes by two characters, that is, tags the three characters prior to the "c." A third instance will recede two more characters, ad nauseam, if my Latin is correct.
The solution is to iterate backwards, i.e., i--. But this causes another problem. If there is more than one story, then the xml structure reverses the order of the stories. The elements within a story are ordered correctly however.
So why is this happening and how can I solve it?
Thanks,
Tom
var myDoc = app.activeDocument;
var findABC = theTextFinder(myDoc,"abc");
xmlTagIt(myDoc,"abc",UIColors.RED,findABC);
//*****functions*******
function xmlTagIt(docRef, tagName,colorOfTag, arrToTag){
var tagName, colorOfTag, arrToTag;
myDoc.xmlViewPreferences.showStructure = true;
myDoc.xmlViewPreferences.showTaggedFrames =true;
myDoc.xmlViewPreferences.showTagMarkers = true;
myDoc.xmlViewPreferences.showTextSnippets =false;
myDoc.xmlPreferences.defaultStoryTagColor = UIColors.WHITE;
var rootElement = myDoc.xmlElements.item(0);
if (myDoc.xmlTags.item(tagName) == null) {
var tagRef = myDoc.xmlTags.add(tagName, colorOfTag);
} else {//if tag already exists then stop the script. Avoid double tagging
myDoc.xmlViewPreferences.showStructure = true;
alert("You have already run this script.");
exit();
}//end else
//for (var i = arrToTag.length-1; 0 <= i; i--){
for (var i = 0; i <= arrToTag.length-1; i++){
var elementRef = rootElement.xmlElements.add (tagRef,arrToTag[i]);
}//end for i
}//end function xmlTagIt
function theTextFinder(docRef,textFindIt){//last argument is the string of text to find
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = textFindIt;
var arrTextFindIt = myDoc.findText();
return arrTextFindIt;
}//end theTextFinderDave,
Thanks for the reply.
I'm not sure what you mean by "convert the references on the fly." You mean find a way to advance two characters forward and tag that? In the script I submitted here I am only searching for "abc," which of course I would not search or at all in real life. The script uses grep to search for about twenty different typographical errors that typically appear and tags them all.
Reiterating backwards seems, at first sight the way to go. But I haven't a clue as to how to reverse the order of the stories. I can get an array of stories, and array.reverse() them, but am not sure how to then make the script put this reversed order into the xml structure. Any hints?
There, of course is bigger problem with the stories. If the document is written with one story created after another then the order of them is top to botom. But if say a text frame edited into the middle of all this, that story is still the last one in the xml structure. At least in one test, that was so. Maybe the way to solve this is to build an array of stories that have as one xml attribute the page it first appears on. Then order the array according to that attribute.
Any advice you give will be appreciated.
Thanks,
Tom
Maybe you are looking for
-
Trackpoint in Thinkpad X121e not always working
Hi, my Lenovo Thinkpad X121e runs with ArchLinux x86_64 and all packages updated (no testing versions). All worked fine, but since a while i have the problem, that the trackpoint sometimes does not work. This occurs randomly at startup. Sometimes it
-
How can I delete an alias of a file that has been deleted already?
A couple of days ago I took a screen shot of my flight's itinerary for this summer vacations. Without noticing I created an alias of the file...I deleted the screen shot and now I just have the alias and i can not delete it nor dragg it anywhere ....
-
URLClassLoader slower than system loader
I'm subclassing URLClassLoader to load jar files on the local file system. I noticed that URLClassLoader loads about 30% slower than placing the jar files on the system class path. In my app, class loading performance in very important -even though i
-
HP OfficeJet Pro L7680 - New ink cartridges saying "Empty"
I have a HP OfficeJet Pro L7680 that has two ink cartridges that suggest they are empty, although they are brand new from HP. These are replacement carts, not the original. I am not sure how to diagnose the problem since the cartridges are leaking co
-
Leave Request - Not Appearing in UWL
Hi, I am facing a problem with the leave request not showing up in the manager's uwl. Under ess user, I am able to submit the leave request and it has a status of 'sent' in RPTARQDBVIEW. The workflow status shows as 'started'. When I select the wo