While iterating through cursor,system reset, refere to exception in thread
here is the exception,thanks.
====================== EXCEPTION ======================
NIP: C0A4FB54 XER: 20000000 LR: C0A5ABD0 SP: C53C2CB0 REGS: c53c2c00 TRAP: 0300
Not tainted
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 0000000C, DSISR: 22000000
TASK = c109a000[43] 'SCH4' Last syscall: -1
last math 00000000 last altivec 00000000
GPR00: D9A66038 C53C2CB0 C109A000 D9800510 00000000 00000001 00000001 00000000
GPR08: 00000000 D9A7F990 D9A11530 00000000 FFFFFFFF 68EAF35D EB33E86E F9EDE7DD
GPR16: ECFBB73E 00141001 C60FDFFF EF7D6FFF 003FF000 C00E590C C00E0000 C00E5910
GPR24: C00E0000 C106C3A8 00000000 C00A0000 C00E56E8 C53C2D28 C0C216F4 C53C2CB0
Cpu Type: PPC603
task:SCH4 pid:43
Call backtrace:
c0c05a08 s_kth_c_thread_wrapper +3f3fa5f8 s_v2k_c_task_wrapper( )
c0c216f4 s_v2k_c_task_wrapper +3f3de90c s_OSS_Sche_c_ScheTaskEntry( 4 )
c08c40cc s_OSS_Sche_c_ScheTaskEntry +3f4 RunProcess( d9134090 )
c08c4888 RunProcess +30 DMA_MODE_WRITE( d9134090 )
c08cb8f8 DMA_MODE_WRITE +24 UniProcEntry( d9134090 )
c08c4920 UniProcEntry +3f73b6e0 processP15Timer( )
c091f074 processP15Timer +2e4 s_tk_15min_c_getAllMcuaddr( c53c2f88 )
c092120c s_tk_15min_c_getAllMcuaddr +54 Select( a, 0, 80000000, c53c2f58, c53c2f54, 0, 0 )
c094a0cc Select +3f6b5f34 __db_c_get_pp( d9a11530, c53c2e98,c53c2eb8, 10 )
c0a6aa2c __db_c_get_pp +120 __db_c_get( d9a11530, c53c2e98, c53c2eb8, 10 )
c0a5af84 __db_c_get +570 __db_c_idup( d9a11530, c53c2d80, 16 )
c0a5ab50 __db_c_idup +7c __db_cursor_int( d9800510, 0, 1, 1, 0, 0, c53c2d28 )
Stack: (0xc53c2cb0 to 0xc53c30b0)
2ca0: c53c2d10 6b2100a8 d9800510 00000000
2cc0: 00000001 00000001 00000000 00000000 c53c2d28 d9a7f990 aaaaaaca d9800950
2ce0: 00000000 c53c2d90 00000000 c53ad600 c53c2ac7 c00e6978 00000000 00000007
2d00: fffffffe d11c0200 c53c27ef c53c2d10 c53c2d60 c0a5abd0 d9a11530 c53c2d80
2d20: 00000016 d9800510 00000000 c00a0000 c00e56e8 d333f320 c0c216f4 c53c2d60
2d40: c53c2d70 c0c0bd0c d9800950 c00c8c40 00000000 d50553fc 00000000 c53c2d60
2d60: c53c2e00 c0a5b4f8 d9a11530 c53c2e98 c53c2eb8 00000010 d9800510 c00c8c40
2d80: 00000000 00000000 d9a7fad0 00000000 d9800950 d9800dd0 c0175b90 00000000
2da0: 00000000 00000016 00000000 00000000 c53c2e00 00000000 d9a11530 c53c2e98
2dc0: c53c2eb8 00000000 d9800510 0000000a 00000000 00000000 00000000 00000000
2de0: 0000000c d50553fc c00e0000 c53c2df0 c53c2e10 c08ce3a0 00000324 c53c2e00
2e00: c53c2e40 c0a6ab50 d9a11530 c53c2e98 c53c2eb8 00000010 d9800510 d9800950
2e20: 00000000 0000000
Edited by: Edgar Liu on Oct 27, 2008 3:58 PM
Hi,
Can you describe your problem in more detail? And some code snippet is quite helpful to solve the problem. So far the info you provided dose not say anything
David
Similar Messages
-
Concurrent modification exception while iterating through list
Hi,
I have a list of objects. I use for each loop in java to iterate through that list of objects and display them.
The problem is that while iterating other thread can add or remove some objects from that list, and I get ConcurrentModificationException.
How can I handle this problem. How can I be sure that I am iteration through the updated list.
Thank youSynchonize on the list before iterating through it, and make sure that other code also synchronizes on the list before adding to it or removing from it. Using a list implementation that simply synchronizes all the methods (e.g. Vector) will not do that, you have to do it yourself.
-
ERROR while saving the runtime systems(read time out exception)
Hi e xperts
I am configuring NWDI and assigned asll the permissions and roles to the CMS user.I created Domain,in landscape configurater
created track and saved.
while saving the rumtime systems the error thrown is
com.sap.cms.util.exception.conf.CMSCCBSCommunicationException: CBS (URL http://dtlepdev:54400/tc.CBS.Appl/archiveapi2/) communication exception: Read timed out (Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out)
at com.sap.cms.pcs.conf.communicator.CBSConfCommunicator.removeBuildspace(CBSConfCommunicator.java:382)
at com.sap.cms.pcs.conf.communicator.CBSConfCommunicator.deleteCreateBuildspace(CBSConfCommunicator.java:338)
at com.sap.cms.pcs.conf.communicator.CBSConfCommunicator.editBuildspace(CBSConfCommunicator.java:277)
at com.sap.cms.pcs.conf.communicator.CBSConfCommunicator.createBuildspace(CBSConfCommunicator.java:168)
at com.sap.cms.pcs.conf.core.services.SystemManagerObject.saveSystem(SystemManagerObject.java:261)
at com.sap.cms.pcs.conf.core.plugin.DefaultTrack.newTrack(DefaultTrack.java:292)
at com.sap.cms.pcs.conf.core.TrackManager.editTrack(TrackManager.java:208)
at com.sap.cms.pcs.conf.manager.CmsConfManager.editTrackConfiguration(CmsConfManager.java:1002)
at com.sap.cms.pcs.conf.manager.proxy.CmsConfProxyBean.editTrackConfiguration(CmsConfProxyBean.java:489)
at com.sap.cms.pcs.conf.manager.proxy.LocalCmsConfProxyLocalObjectImpl0_0.editTrackConfigurationand also ..
Unable to instantiate a Build Space administrator!
Build Space "DTL_ETRACK_C" [bsID: 27, version: 0] [in-queue: on (privileged), out-queue: "on", processing: off]
<null>
[EXCEPTION]
Buildspace DTL_ETRACK_C does not own the workspace ws/ETRACK/dtl.com_DEFAULTIME/cons/inactive/ . It is currently not owned by any other buildspace
at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.checkWorkspace(_BuildSpaceValidator.java:120)
at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.validateWSs(_BuildSpaceValidator.java:74)
at com.sap.tc.cbs.server.rt.bs.BSAdmin.validate(BSAdmin.java:192)
at com.sap.tc.cbs.server.rt.bs.BSAdmin.updateState(BSAdmin.java:260)
at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.determineChanges(BSAdminOrc.java:439)
at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.validateBuildSpaceData(BSAdminOrc.java:219)
at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.act(BSAdminOrc.java:341)
at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:139)
at java.lang.Thread.run(Thread.java:534
In cbs i checked the parametrs they are open and on..
please suggest me on this ASAP..since 2 days i have been struggling and searched in forums..no perfect solution
help me out
perfect soln is immediately awarded...
I
THanks
MayuHi Mayu,
here apparently the CMS cannot communicate to CBS properly and then when CMS tries to talk to CBS using a webservice, it times out due to various reasons, see below.
Strange, I always had this error when the CMS was on a different release like CBS and this caused the communication problem.
Don't you have an entry in your cms log like this?
com.sap.cms.util.exception.CMSUnexpectedException
at com.sap.cms.pcs.conf.manager.CmsConfManager.newTrackConfiguration(CmsConfManager.java:666)
Caused by: java.lang.IncompatibleClassChangeError
at com.sap.cms.pcs.conf.communicator.CBSConfCommunicator.openConnection(CBSConfCommunicator.java:84)
Please provide me the version of the DI_CMS, DI_CBS (and DI_DTR for the sake of completeness).
You can find this info on the ComponentInfo page.
On 640/700 this is http://<host>:<port>/sap/monitoring/ComponentInfo
as of 710 you find this on the "Components" tab of http://<host>:<port>/nwa/sysinfo
I also think that this is not due to the runtime systems. I guess you have the same problem if you try to create the track without runtime systems, right?
(The "Unable to instantiate a Build Space administrator!" is not necessarily an error, see the note:
#1175019 - Unable to instantiate a Build Space administrator!)
Thank you!
Best Regards,
Ervin -
Modify map while iterating through it
hi all,
i have some java code iam maintaining and am seeing in many places that
HashMap object's iterator is used to iterate and in the loop, the same map is modified (adding an element). is this valid coding? i didnt get any issues so far.
Thanks.
eg code:
for ( Iterator iterator = myHashMap.keySet().iterator(); iterator.hasNext(); )
//bla bla bla
myHashMap.put(key,value);
iam wondering since the map got modified, how reliable is the iterator used in for loop?
-MadhuYou should not add during iteration. If you must, you should add
into a temporary array. When you're done with the iteration,
you can then add everything from the array into the map.
Or, if you quit the iteration right after adding something, that's okay. (That is, if after you add something, you no longer
touch the iterator, then that's okay)
Furthermore:
First of all, you should not use keySet() since it is very inefficient.
You're supposed to use entrySet() instead.
Second of all, if you use entrySet(), then you CAN delete+modify during iteration (just not "add")
for(Iterator i=map.entrySet(); i.hasNext(); ) {
Map.Entry e = (Map.Entry)(i.next());
Object key = e.getKey();
Object value = e.getValue();
// You can now remove this entry like this:
i.remove();
// Or you can alter the value of this entry, like this:
e.setValue(someNewValue);
} -
"exception in thread main" error while running "dbca"
Hi,
i am getting following kind of error while trying to run dbca in linux.
"exception in thread main"
i have the dispaly env var set. and xhost+ set too. but still dbca is not working.
i have pasted the contents of dbca file below. can someone have a look at the file and help me find the error.
it would be great if someone can paste their dbca file content, so i can compare and fix the error.
#!/bin/sh -f
# $Header: dbca.sh 12-may-2005.11:05:03 xuliu Exp $
# dbca.sh
# Copyright (c) 1997, 2005, Oracle. All rights reserved.
# NAME
# dbassist - Shell script to run Database Creation Assistant
# DESCRIPTION
# Runs Database Creation Assistion java application
# Run this script with -h or -help option to get the help.
# MODIFIED (MMDD/YY)
# npamnani 10/23/02 - add 1.3.1. java flag
# npamnani 10/09/02 - run with java instead jre
# dkapoor 07/05/2000 - Created
# Variables set by Oracle Universal Installer for dependent components.
# Define ORACLE_HOME -> OH
OH=/home/oracle/oracle/product/10.2.0/db_1
PLATFORM=Linux
ORACLE_HOME=$OH
export ORACLE_HOME;
# Version specific JAR files
JRE_FILE=rt.jar
I18_FILE=i18n.jar
EWT_FILE=ewt3.jar
JEWT_FILE=jewt4.jar
EWT_COMP_FILE=ewtcompat-3_3_15.jar
SHARE_FILE=share.jar
HELP_FILE=help4.jar
#ICE_BROWSER_FILE=oracle_ice5.jar
ICE_BROWSER5_FILE=oracle_ice5.jar
KODIAK_FILE=kodiak.jar
SWING_FILE=swingall-1_1_1.jar
XMLPARSER_FILE=xmlparserv2.jar
JDBC_FILE=classes12.zip
GDK_FILE1=orai18n.jar
GDK_FILE2=orai18n-mapping.jar
GDK_FILE3=orai18n-utility.jar
GDK_FILE4=orai18n-collation.jar
NETCFG_FILE=netcfg.jar
OJMISC_FILE=ojmisc.jar
PKI_FILE=oraclepki103.jar
LDAP_FILE=ldapjclnt10.jar
OPM_FILE=opm.jar
SRVM_FILE=srvm.jar
SRVMHAS_FILE=srvmhas.jar
SRVMASM_FILE=srvmasm.jar
ASSISTANTS_COMMON_FILE=assistantsCommon.jar
DBCA_FILE=dbca.jar
EMLITE_JAR=oemlt-10_1_0.jar
INSTALLER_FILE=OraInstaller.jar
PREREQ_JAR_FILE=OraPrereq.jar
PREREQ_CHECKS_JAR_FILE=OraPrereqChecks.jar
# Directory Variables
SRVM_JLIB_DIR=/home/oracle/oracle/product/10.2.0/db_1/jlib
JRE_DIR=/home/oracle/oracle/product/10.2.0/db_1/jdk/jre
LIB_DIR=$OH/lib
LIB32_DIR=$OH/lib32
JLIB_DIR=$OH/jlib
DBCA_JLIB_DIR=$OH/assistants/dbca/jlib
ASSISTANTS_JLIB_DIR=$OH/assistants/jlib
INSTALLER_JLIB_DIR=/home/oracle/oracle/product/10.2.0/db_1/oui/jlib
# Classpath
JRE_CLASSPATH=$JRE_DIR/lib/$JRE_FILE
I18_CLASSPATH=$JRE_DIR/lib/$I18_FILE
EWT_CLASSPATH=$JLIB_DIR/$EWT_FILE:$JLIB_DIR/$EWT_COMP_FILE
SHARE_CLASSPATH=$JLIB_DIR/$SHARE_FILE
HELP_CLASSPATH=$JLIB_DIR/$HELP_FILE:$JLIB_DIR/$JEWT_FILE
ICE_BROWSER_CLASSPATH=$JLIB_DIR/$ICE_BROWSER5_FILE
KODIAK_CLASSPATH=$JLIB_DIR/$KODIAK_FILE
SWING_CLASSPATH=$JLIB_DIR/$SWING_FILE
XMLPARSER_CLASSPATH=/home/oracle/oracle/product/10.2.0/db_1/lib/$XMLPARSER_FILE
JDBC_CLASSPATH=$OH/jdbc/lib/$JDBC_FILE
GDK_CLASSPATH=$JLIB_DIR/$GDK_FILE1:$JLIB_DIR/$GDK_FILE2:$JLIB_DIR/$GDK_FILE3:$JLIB_DIR/$GDK_FILE4
NETCFG_CLASSPATH=$JLIB_DIR/$NETCFG_FILE:$JLIB_DIR/$OJMISC_FILE:$JLIB_DIR/$PKI_FILE:$JLIB_DIR/$LDAP_FILE:$JLIB_DIR/$OPM_FILE
SRVM_CLASSPATH=$SRVM_JLIB_DIR/$SRVM_FILE:$SRVM_JLIB_DIR/$SRVMHAS_FILE:$SRVM_JLIB_DIR/$SRVMASM_FILE
EM_CLASSPATH=$OH/classes:$JLIB_DIR/$EMLITE_JAR:$JLIB_DIR/emca.jar:$OH/sysman/jlib/emCORE.jar:$OH/oc4j/j2ee/home/oc4j.jar:$OH/oc4j/j2ee/home/db_oc4j_deploy.jar:$JLIB_DIR/emConfigInstall.jar
ASSISTANTS_COMMON_CLASSPATH=$ASSISTANTS_JLIB_DIR/$ASSISTANTS_COMMON_FILE
DBCA_CLASSPATH=$DBCA_JLIB_DIR/$DBCA_FILE
INSTALLER_CLASSPATH=$INSTALLER_JLIB_DIR/$INSTALLER_FILE:$INSTALLER_JLIB_DIR/$PREREQ_JAR_FILE:$OH/inventory/prereqs/oui/$PREREQ_CHECKS_JAR_FILE:$INSTALLER_JLIB_DIR/$PREREQ_CHECKS_JAR_FILE
# Check for silent or help
SILENT="false"
for i in $*
do
if [ $i = "-silent" ] || [ $i = "-help" ] || [ $i = "-h" ]; then
SILENT="true"
break
fi
done
# Check for DISPLAY
if [ $SILENT = "false" ]; then
case $DISPLAY in
echo "DISPLAY not set."
echo "Set DISPLAY environment variable, then re-run."
exit;
esac
fi
# make sure others can not read/write any files created
umask 27
# The environment variable $TWO_TASK cannot be set during the installation
unset TWO_TASK
# The environment variable $JAVA_HOME cannot be set during the installation
unset JAVA_HOME
# Basic error checking
case $OH in
"") echo "*** ORACLE_HOME Not Set!"
echo " Set and export ORACLE_HOME, then re-run"
echo " ORACLE_HOME points to the main directory that"
echo " contains all Oracle products."
exit 1;;
esac
# Set the LD_LIBRARY_PATH to set the path for shared objects
# Do not set it on AIX
if [ $PLATFORM != IBM_AIX ]; then
LD_LIBRARY_PATH=$LIB32_DIR:$OH/network/lib32:$LIB_DIR:$OH/network/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH;
fi
# Set SHLIB_PATH for HP to use 32bit native libraries
SHLIB_PATH=$LIB32_DIR:$ORACLE_HOME/network/lib32:$SHLIB_PATH
export SHLIB_PATH;
# Set LIBPATH for AIX to use 32bit native libraries
LIBPATH=$LIB32_DIR:$ORACLE_HOME/network/lib32:$LIBPATH
export LIBPATH;
# Set Classpath for Database Creation Assistant
CLASSPATH=$JRE_CLASSPATH:$I18_CLASSPATH:$DBCA_CLASSPATH:$ASSISTANTS_COMMON_CLASSPATH:$EWT_CLASSPATH:$SHARE_CLASSPATH:$HELP_CLASSPATH:$ICE_BROWSER_CLASSPATH:$KODIAK_CLASSPATH:$SWING_CLASSPATH:$XMLPARSER_CLASSPATH:$GDK_CLASSPATH:$NETCFG_CLASSPATH:$JDBC_CLASSPATH:$SRVM_CLASSPATH:$EM_CLASSPATH:$INSTALLER_CLASSPATH
ARGUMENTS=""
NUMBER_OF_ARGUMENTS=$#
if [ $NUMBER_OF_ARGUMENTS -gt 0 ]; then
ARGUMENTS=$*
fi
# Run DBCA
$JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
Thanks,
Philip.I got this error also,.
After restart the computer, it runs ok. -
While clearing through F-54 system throws error No downpayment exist
While clearing through F-54 system throws error : No downpayment exist. But I have checked in the Downpayment account, A/P account and Customer Line item and the entry exists. Customization for Downpayment made also correct. All the fields are correctly entered in F-54. Still the error comes.
Please clarify.
Thanks,
RajHi Ravi,
This transaction is not a downpayment request. But one thing I have to mention. For this downpayment the assignment of alternate reconciliation account was done on 17.3.09.
The posting date and document date has been given as 13.03.2009 for the downpayment document. Whereas when I check in the entry view > header details, the posting date is 18.03.2009 (may be it is
showing the actual date of posting). When the clearing is done through F-54 by giving
date 31.03.2009, the system gives the error that no downpayment exist. If we give
the Inv.No. details and click for document display, the system shows the relevant document
to be cleared. Wen we click open process items tab, the error is shown. Kindly confirm
whether the system is not updated with the assignment of alternate reconciliation account
for downpayment when the document date and posting date has been given prior to that
assignment and that is why the system is showing error. Further, is it right to reverse that
downpayment document and post a fresh document by giving date after 17.03.2009 and then
clear the entry.
Regards,
Sadashivan -
While saving maintenance order system throughing error
Hi,
we have assigned wbs element in Add data tab , But while saving that order system throughin error as"Assigning PM Order to WBS Element L-DI-0001-3-1 is not Allowed"
regards
GaneshHi
Can you post the exact message with number
regards
thyagarajan -
Iterating through View Object RowIterator Bug.
I use this code to loop through the rows of a view object (As described in javadoc of RowIteratior).
public String checkIterations() {
String res = "Iterated through : ";
RowIterator view = this.getDepartmentsView1();
view.reset();
Row row;
while ((row = view.next()) != null) {
System.out.println("rownum: " + row.getAttribute("RowNum"));
res += row.getAttribute("RowNum") + " ";
return res;
Yet this code never goes through the first row if the executequery has been performed for view object.
details:
[http://adfbugs.blogspot.com/2009/07/iterating-through-view-object.html]
Is this a bug?
Edited by: mkonio on Jul 28, 2009 11:41 PMThanks Andrejus and Steve.
Its a development bug
problem and solution described in:
Fusion Developer's Guide for Oracle ADF
9.7.6 What You May Need to Know About Programmatic Row Set Iteration -
Why does VersaMail cause system reset after HotSync?
On a clean factory default setup Treo 650, I can set up one account -- my SprintPCS account -- on VersaMail and successfully use VersaMail to download and send emails. After a HotSync with my Outlook Calendar, Contacts, Memos and Tasks, I see the following errors in my sync log. Then, when I attempt to launch VersaMail, the 650 always immediately performs a system reset.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
Error loading preferences for account 'SprintPCS': An error occured while attempting to retrieve data from the device.
OK VersaMail with 8 message(s)
Thanks in advance for help on this, PalmOne. SprintPCS technical support has absolutely no experience as yet on this sort of problem. I was on the line for over an hour covering the same ground I had before calling them. Because this is related to two PalmOne software products -- HotSync and VersaMail, I figure you guys would have a better idea where to start troubleshooting and ultimately resolving this.
Thanks again!
Post relates to: Treo 650 (Sprint)let's see... digging back into the memory banks here...
I think I went to www.palmgear.com, and searched for filez, and found it there. to be more specific about your question, though, are you asking how to install files to palm in general (i doubt that just from reading your thread), or rather how to find the filez file in the first place?
for ease, anyway, here's the URL for filez
http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&PartnerREF=&siteid=1&prodID=9992
strange, too - and you might watch out for this if you have agendus installed on your treo - now when i click on the calendar button next to the phone button, the palm does a soft reset - VERY annoying. I haven't gone through the trouble of finding a fix for that one yet, but will search one of these days... -
Hi,
I am editing in Premiere Pro CC (2013) and I have repeatedly experienced the problem while scrubbing through a busy sequence where a very short audio sample (milliseconds) will blast through my speakers damaging my speakers and my ears. It normally occurs while I am quickly navigating between parts of my sequence that have multiple audio layers which leads me to believe it is an audio rendering issue. The audio sample that plays is extremely loud (many times louder than the media in the sequence) and causes me pain, being a full time editor this is extremely damaging to my hearing. I need to have audio scrubbing enabled whilst editing and I am hoping for a workaround to stop this problem whilst keeping audio scrubbing enabled.
My system:
Audio playback set to built in output (I use headphones)
2.6 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 750M 2048 MB (Cuda enabled)
OS X 10.9.47.2.2 is the last release of CC7. And as I already noted it contains the fix I was referring to, which apparently doesn't resolve the issue you're encountering. If you started this project in an earlier release of CC7, it's possible that it is the same bug and, though fixed in your current build, it's continuing to present itself because it's basically saved to the audio preview files. In that case, clearing the audio preview files would get you free and clear of the bug.
Note, by the way, that 7.2.2 is not the current version. CC2014 was released in June of this year, followed by 2014.0.1 in July. -
Add to list while iterating?
What's the best way to add an element to a list during an iterating a list and have the item be in the current iteration?
For example...
List<Integer> li = new LinkedList<Integer>();
li.add(1);
li.add(3);
li.add(4);
ListIterator<Integer>iter = li.listIterator();
while(iter.hasNext()){
int num = iter.next();
if(num==1){
iter.add(2);
System.out.println(num);
}the above code would only print 1,3,4...
Any help would be appreciated, thank you.Making the simple change
if(num==1){
iter.add(2);
iter.previous();
}Seems to do the trick. Looking at the previous API we see:
Returns the previous element in the list. This method may be called repeatedly to iterate through the list backwards, or intermixed with calls to next to go back and forth. ( Note that alternating calls to next and previous will return the same element repeatedly. )
add() placed the element BEFORE the next() element. Calling previous() retrieves the added element. A subsequent call to next() gets that same element as per the API doc. -
What is the deal with System Reset/Refresh in Windows 8.1?
Either this is a serious defect with the Windows Store-provided update for Windows 8.1 or Microsoft has done this intentionally but doing an update to Windows 8.1 from the Windows Store-provided service nukes your ability to use System Reset/Refresh.
It claims files are missing which means that the update erased the necessary reset files from the HDD but didn't replace them during the update with Windows 8.1 compatible equivalents.
I had to do a System Reset on one of my computers and I ended up having to get a Windows 8.1 ISO from a less than reputable source just to get my hands around the necessary missing file and now I can't even activate it with my Windows 8 Pro upgrade
key. None of this would have been a problem if I could just perform the System Reset in place on Windows 8.1 and reset it back to a neutral, clean Windows 8.1 installation.
I've since managed to find a way to do the install the way I needed to but can someone please give me some clarity on this subject so I don't have to go through all this again (as I've got two other computers that run a Windows Store-updated Windows 8.1
installation and at least one of them is probably due for its own System Refresh)? What can I do to refresh a valid Windows 8.1 installation if I need to?
EDIT: Oh, and one more thing: one of those computers is an OEM-installed Windows 8 copy that was subsequently upgraded to 8.1 yet it too suffers from the "missing files" error when a System Refresh/Reset is requested. What
am I supposed to do here if I want to do a System Refresh to this computer? Will the OEM key inside it activate if I go outside the operating system to install it anew?C:\Program Files (x86)\NeoSmart Technologies\EasyBCD\bin>net start sppsvc
The Software Protection service is starting.
The Software Protection service could not be started.
A system error has occurred.
System error 5 has occurred.
Access is denied.
This is the error from running net start sppsvc in an elevated command prompt. Software Protection Service (sppsvc.exe) is getting an "access denied" error and code 0xC0000022. Ok, let me break it down for you... And this is with a fully
legit VL key that works on several PC in our school that are
First, you perform a System Refresh for what ever reason. After the Refresh, within a few minutes get the Windows version watermark in the lower left corner of your desktop that shows the windows version and build. Then after that
you get another watermark above the first watermark that says you need to activate by going to **Change PC Settings***. From there you are on the activation screen and its state with out doing anything...**Activation Error Description Not Found.**
When you click "Activate Now" nothing happens. You briefly see "checking this key" and then nothing.
This is where the above mentioned Software Protection service is failing. <--- Needs to be fixed.
Now at this point I cannot attempt to do an online activation because the sppsvc.exe is producing the 0xC0000022 error
I cannot do a phone activation because there is no installation ID...all the boxes are blank...because the sppsvc.exe is producing the 0xC0000022 error.
Oh, and I cannot re-type my product key because...you got it...because the sppsvc.exe is producing the 0xC0000022 error.....
The Software Protection service runs when I activate my PCs that are getting a "Clean" installs, Just to test the theory I did a refresh install on the "clean" installed pc and **VOILA** SAME ERROR....
Let me clarify that one of the PCs has a dual partition and a complete re-install of the OS will mean some extensive work fixing the bootloader as well. I have 150 PCs to refresh and this is what happened on the first one, then the 2nd. I am
running these on a TechNet VL and have never had these issues in the last 3 years.
Listen to these people. ALL are having the same issue. There has to be a process to fix it. As difficult as it may seem, some of us don't mind spending a few extra minutes running administrative tasks to fix this instead of re-installing.
That's the novice way to fix the issues and the most painstaking for those of us who work 12-to 14 hrs a day and don't have the time. We need this fixed. PLEASE PLEASE
Pretty please. Please take the time to take ownership of this issue and pioneer a real fix for the hundreds maybe thousands that are having or have had (broke down and did a "clean" install) this EXACT issue. Thank you so much for your help!!!!! -
I had to change my hard drive in my MBP 15". I use Time Machine on a Time Capsule for backup. I am booting up my laptop with a bootable USB key. I have partitioned my new hard drive (bigger than the old one) and named it Macintosh HD (same as the old one). I select the option to restore from Time Machine Backup. I select one of my latest backup....select my destination drive...the restore process starts but stop within minutes with the following message. "An error occurred while adding a recovery system to the destination disk" It then prompts me to restart....
I need your help...what can it be.
ThanksI've encountered this issue when the Time Machine was encrypted with FileVault.
Article: HT4718
Additional Information
Please note that OS X Recovery must be present on the computer's startup volume in order to use FileVault 2. Using RAID partitions or a non-standard Boot Camp partition on the startup disk may prevent OS X from installing a local Recovery system. See "OS X: Some features of Mac OS X are not supported for the disk (volume name)" for more information.
What seems to work, is reinstalling the OSX from the internet, and then using migration assistant to pull the user from the time machine backup external when logged into a temporary administrator user to move the original user back over.
Perhaps if you're stubborn, what would work is the following from the same article:
What to do if the installer warns that no Recovery System can be created
Some disk partition configurations may result in the OS X installer reporting that it could not create a Recovery System. In these situations, even if you are permitted to continue the install, you may want to quit the installation and create an external, bootable OS X hard drive with a Recovery System, first. You can continue your OS X upgrade on your computer's startup drive after creating an external Recovery System.
Your storage device must have at least 13 GB available (after formatting) to install OS X Lion or later and a Recovery partition.
These steps erase and reformat the storage device. This article instructs you on setting up a storage device to use the GUID partition scheme and the Mac OS Extended (Journaled) format, which are required to install OS X and a Recovery partition on your external storage device. You should back up any important files that are on the device to a different drive.
This procedure installs a version of OS X that is compatible with the Mac it was created with. Using this OS X system with a different Mac model may produce unpredictable results.
Your computer's serial number is sent to Apple as part of this process to help authenticate your request to download and install OS X Lion.
All of this information was collected by browsing through the public articles on the Apple Support website. -
hello,
we have 3 server sharepoint 2010 farm as a live system and a 1 server for development and test system. I've got a problem with one of our portals that gives correlation ID (in 2 or 3 times a week) on all my dataview web parts (total 8 Dataview
WP) until i make IIS reset for that portal. (but same portal works like magic on test system over 3 weeks now). there is no custom code in the page other than the customized masterpage and css. and just reseting the IIS solves the problem for a couple
of days but i need to fix that permanantly. if anyone can help me about that i will be happy. thank you all in advance.
here is the log for the correlation ID;
11/08/2011 09:40:11.72 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=63,946744628158 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (GetWebPartPageContent). Execution Time=64,2515319684485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Logging Correlation Data xmnv Medium Site=/ 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=65.3603321092485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.22 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=361.680395134018 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (HelpDesk)). Execution Time=391.723110060077 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (Activate web part connections). Execution Time=416.389513192319 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.28 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.28* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.30 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.8157992147047 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Approves)).
Execution Time=56.5768833748423 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.36 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=16.99475771362 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Tasks)).
Execution Time=59.0992011554541 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.43 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=20.8265994700444 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.44 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.44* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.46 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.1539832576487 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.47 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.47* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=13.4458429772499 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.52 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=23.1282886512113 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.53 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.53* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.57 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx)). Execution
Time=845.499567682485 841eadfa-2a71-4cd3-85a4-7b1e3d75355fNicholas Mulder's summary is exactly the issue our server is facing. App pool recycle kicks-off at 2:04am and by 2:06am all our data view web parts are displaying "Unable to display web part ..." I get the same error messages in ULS logs every
time it recycles, however it is able to correct itself some of the time. The other times which is every few days, the web parts never come back up.
Here are a few lines from the log leading up to the recycle and a few after.
-The application domain /LM/W3SVC/1304874868/ROOT-1-130058022909222844 is unloading and going to be recycled.
-Shutdown Reason: HostingEnvironment initiated shutdown HostingEnvironment caused shutdown
-AppDomain shutdown initiated
-Flushing connection pool 'Data Source=SPSQL;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
-An application domain named /LM/W3SVC/1304874868/ROOT-1-130058174460198926 has just been loaded.
-Failed to look up string with key "FSAdmin_SiteSettings_UserContextManagement_ToolTip", keyfile Microsoft.Office.Server.Search.
-Error initializing Safe control - Assembly:Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c TypeName: Microsoft.Office.SharePoint.ClientExtensions.Publishing.TakeListOfflineRibbonControl Error:
-No webtemp*.xml files found for language 1033 and product version 3.
-No webtemp*.xml files found for language 1033 and product version 2.
-Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
-Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
-Error while executing web part: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
-Error while executing web part: System.ArgumentException: An item with the same key has already been added.
-Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.
-AddWithFile:DfwpXslFilesHashCache=Microsoft.SharePoint.WebPartPages.CloneableHashTable
-Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program. -
Error while downloading through ftp using Java
I have attempted to download a file using ftp through java this is my code
import sun.net.www.protocol.ftp.FtpURLConnection;
import sun.net.ftp.FtpClient;
import sun.net.TelnetInputStream;
import java.net.*;
import java.io.*;
import javax.swing.*;
import java.awt.*;
public class PasswordedPageViewer {
public static void main (String[] args) {
try {
//Open the URLConnection for reading
FtpClient cli = new FtpClient();
cli.openServer("mycgiserver.com", 21);
cli.login("//Username//", "//password//");
TelnetInputStream ins = cli.get("mail.jsp");
BufferedReader d = new BufferedReader(new InputStreamReader(ins));
while(d.readLine().length()>0){
System.out.println(d.readLine());
catch (MalformedURLException e) {
System.err.println(args[0] + " is not a parseable URL");
catch (IOException e) {
e.printStackTrace();
System.err.println(e);
} // end main
} // end SourceViewer2
But this keeps failing and returning the following error message
sun.net.TelnetProtocolException: misplaced CR in input
at sun.net.TelnetInputStream.read(TelnetInputStream.java:96)
at sun.net.TelnetInputStream.read(TelnetInputStream.java:130)
at sun.net.TelnetInputStream.read(TelnetInputStream.java:115)
at java.io.InputStreamReader.fill(InputStreamReader.java:173)
at java.io.InputStreamReader.read(InputStreamReader.java:249)
at java.io.BufferedReader.fill(BufferedReader.java:139)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at PasswordedPageViewer.main(PasswordedPageViewer.java:30)
sun.net.TelnetProtocolException: misplaced CR in input
Can anyone helpEven so. Try simplifying. You only need one sun.* class:
import java.io.*;
import sun.net.ftp.FtpClient;
public class FtpGet {
public static void main( String[] argv ) throws Exception {
FtpClient c = new FtpClient();
c.openServer( "ftp.yourplace.com" );
c.login( "user", "password );
InputStream in = c.get( "yourFile.txt" );
BufferedReader r = new BufferedReader(new InputStreamReader(in));
String line = r.readLine();
while ( null != line ) {
System.out.println( line );
line = r.readLine();
}
Maybe you are looking for
-
Unable to import jpg file: Error: This file is in an unrecognized format.
I have an iMac 2009 with Mavericks 10.9.3 and iPhoto 11 (v 9.5.1) and am getting an error message trying to load 1000 .jpg photos from ScanCafe. The error message is: this file is in an unrecognized format. I have tried the following but am still un
-
I updated my IOS on my iPhone 4S and it locked up. I had to restore my phone and now iTunes will not go past the setup your phone screen even though the phone as been restored. How do I get iTunes to go past this screen so I can sync my phone again
-
No rows returned by spatial query wrapped in SELECT * FROM ...
Hi, I'm getting some really weird behaviour when running a sub query with SDO_EQUAL. The SDO_EQUAL query on its own works fine, but if I wrap it in SELECT * FROM then I get no results. If I wrap SDO_ANYINTERACT in SELECT * FROM then I get the expecte
-
How to generate a variable-name from a string
I want to name some variables automaticly. The names are read from an ArrayList and converted to string. I tried it this way, but I failed. for(int m=0; m<tags.size(); m++){ System.out.println("javax.swing.JRadioButton "+tags.get(m).toString().t
-
Error when Combining Files (Acrobat XI & Office 2010)
I have a user who is getting an error every time she tries to combine files on her computer. Pdfs will combine just fine. Pdf + MS Office file types fail. Combining two MS Office file types fail. A side issue, maybe related, is that the Acrobat tab i