(上传问题)java.lang.StringIndexOutOfBoundsException: String index out of range: -63657 [问题点数:100分,结帖人java2000_net]

Bbs1
本版专家分:0
结帖率 75%
Bbs7
本版专家分:14243
Bbs1
本版专家分:0
Bbs6
本版专家分:7638
Bbs3
本版专家分:834
Bbs1
本版专家分:0
Bbs3
本版专家分:662
java.lang.StringIndexOutOfBoundsException:String index out of range:-1
程序如下:rnrn包上述错误,没见过怎么回事?
java.lang.StringIndexOutOfBoundsException: String index out of range: 116
at java.lang.String.checkBounds(String.java:402)rnat java.lang.String.(String.java:443)rnat jxl.biff.StringHelper.getString(StringHelper.java:164)rnat jxl.read.biff.WriteAccessRecord.(WriteAccessRecord.java:56)rnat jxl.read.biff.WorkbookParser.parse(WorkbookParser.java:821)rnat jxl.Workbook.getWorkbook(Workbook.java:237)rnat jxl.Workbook.getWorkbook(Workbook.java:198)rnat com.iedudata.action.AddStudentResultRecordAction.addExamResult(AddStudentResultRecordAction.java:454)rnat com.iedudata.action.AddStudentResultRecordAction.addStudentResultRecord(AddStudentResultRecordAction.java:89)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rnat java.lang.reflect.Method.invoke(Method.java:597)rnat com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)rnat com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)rnat com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)rnat org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)rnat com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)rnat com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)rnat com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)rnat com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)rnat com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn
救命啊!!!老是报java.lang.StringIndexOutOfBoundsException: String index out of range: 16?????
我在 往SQLSERVER中循环插入1-1000的ID的时候老是报java.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 16,代码如下:rn try rn // connection= DriverManager.getConnection(url11,user11,password11); rn connection.setAutoCommit(false);// 事物处理 rn for(i=0;ialert('卡号[ "+qskh+" ]已存在,请确认你要添加的卡段!');self.history.back();"); rn elsern SQL="";rn SQL="insert into newcard(onlyid,card,lrfs,cardtype,nj,price,dls,ffsj,fffs,ffr) values('"+getOnlyID()+"','"+qskh+"','"+lrfs+"','"+cardtype+"','"+nj+"','"+price+"','未代理',GETDATE(),'"+fffs+"','"+ddd+"')";rn connection= DriverManager.getConnection(url11,user11,password11); rn stmt=connection.createStatement();rn iTmp=stmt.executeUpdate(SQL); rn SQL="";rn rn qskh1=qskh1+1;rn qskh=String.valueOf(qskh1);rn SQL=""; rn rn if(iTmp>0)rn <em>out</em>.println(" ");rn elsern <em>out</em>.println(" ");rn rn rn catch(SQLException e)rn <em>out</em>.print(e);rn connection.rollback();rn
奇怪的 String index out of range
int chars = newsform.getContent().length(); //总字符数 intrn int PerPage = 1000; //每页要分的字符数rn int allpage; //总页数rnrn allpage = (chars + PerPage - 1) / (PerPage); //取得总页数rn rn String str[] = new String[allpage];rnrn String news = getStr(newsform.getContent());rn System.<em>out</em>.println(allpage+"页");rn System.<em>out</em>.println(chars+"个字符");rn for (int i = 0; i < allpage; i++) rn rn if (i==allpage-1) rn rn str[i] = news.sub<em>string</em>((i * PerPage));rn System.<em>out</em>.println(str[i].length());rn rn else rn rn str[i] = news.sub<em>string</em>((i * PerPage), ((i + 1) * PerPage));rn System.<em>out</em>.println("第"+i+"次"+str[i].length());rn rnrn rn rn打印出:rn6页rn5191个字符rn第0次1000rn第1次1000rn第2次1000rn第3次1000rnrn这是错误:String <em>index</em> <em>out</em> of <em>range</em>: 5000rnrn帮我看下怎么会错的?
String index out of range: -1
String <em>index</em> <em>out</em> of <em>range</em>: -1rnrn是怎么回事啊 rnrn谢谢
String index out of range: 6
[img=https://img-bbs.csdn.net/upload/201305/18/1368875784_483066.png][/img]rn[img=https://img-bbs.csdn.net/upload/201305/18/1368875946_841555.png][/img]rn[img=https://img-bbs.csdn.net/upload/201305/18/1368875959_219033.png][/img]rnrnrn老是说 字符串索引超出范围 到底哪里错了????
String index out of range: 48
String <em>index</em> <em>out</em> of <em>range</em>: 48
String index out of range: -2问题
今天突然遇到这个<em>问题</em>。String <em>index</em> <em>out</em> of <em>range</em>: -2不知道为什么?请高手指点迷津。rn[code=Java]java.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: -2rn at java.lang.String.sub<em>string</em>(String.java:1444)rn at jsp_servlet._fams.__tb_assetscard_car_doadd._jspService(__tb_assetscard_car_doadd.java:203)rn at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)rn at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)rn at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)rn at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rn at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)rn at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)rn at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)rn at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)[/code]
index Out of Range "">"DBGrid index Out of Range "
Query1->DisableControl();rnfor(int i=0; iAppend();rn Query1->FiledByName("f1")->Value="sss";rn Query1->FiledByName("f2")->Value="sss1";rn Query1->Post();rnrnQuery1->EnableControl();rnrn为什么加上 :rnQuery1->DisableControl();rnQuery1->EnableControl();rn时有时候会出现"DBGrid <em>index</em> Out of Range " 错误!rn
Bits index out of range
对 Delphi 5 ClientDataSet, Edit操作, Post时报错 Bits <em>index</em> <em>out</em> of <em>range</em>, insert时正常, 不知是何原因?
Row index out of range问题
public class Table1 extends JFramern String rid[] = new String[100];rn int count = 0;rn /*rn * public static void main(String a[]) new Table1(); rn */rn rn public void center(JFrame frame) rn double x = frame.getWidth(); // 居中困难rn double y = frame.getHeight();rn Toolkit kit = Toolkit.getDefaultToolkit();rn Dimension screenSize = kit.getScreenSize();rn double xx = screenSize.getWidth();rn double yy = screenSize.getHeight();rn frame.setLocation((int) (xx / 2 - x / 2), (int) (yy / 2 - y / 2));rn rn public Table1() rn JPanel zuida = new JPanel(new BorderLay<em>out</em>(0, 10));rn JPanel jp1 = fangzi();rn JPanel jp2 = dingdan();rn jp2.setBorder(BorderFactory.createTitledBorder("订单信息"));rn JTabbedPane tp = new JTabbedPane();rn tp.addTab("房间预定", jp1);rn tp.addTab("订单信息", jp2);rn // zuida.add(jp1);rn zuida.add("North", tp);rn JFrame frame = new JFrame("酒店");rn frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn //zuida.setBackground(new Color(102,204,255)); 设置背景颜色rn zuida.setBorder(new EmptyBorder(5, 5, 5, 5));rn frame.setContentPane(zuida);rn frame.setVisible(true);rn frame.pack();rn center(frame);rn System.<em>out</em>.println("123");rn // frame.setLocationRelativeTo(null);//这个也是居中的方法rn rn JPanel fangzi() rn JTable jiu = jiudian();rn JTable table = order();rn JScrollPane pane = new JScrollPane(jiu); // 加滑轮rn JPanel panel = new JPanel();//rn JPanel panel2 = new JPanel(new FlowLay<em>out</em>(FlowLay<em>out</em>.CENTER, 30, 10));rn JPanel panel3 = new JPanel(new GridLay<em>out</em>(1, 10));rn JPanel panel4 = new JPanel(new BorderLay<em>out</em>(0, 10));rn panel.setPreferredSize(new Dimension(600, 400));rn panel.setLay<em>out</em>(new BorderLay<em>out</em>());rn JButton b1 = new JButton("预订");rn JButton b2 = new JButton("加至购物车");rn JButton b3 = new JButton("预定多个");rn JButton b4 = new JButton("生成订单");rn panel2.add(b1);rn panel2.add(b2);rn panel2.add(b3);rn panel2.add(b4);rn ButtonListener bListener = new ButtonListener(jiu,rid);rn rn JButton b5 = new JButton("查询空房");rn panel3.add(b5);rn rn rn bListener.jPanel = panel;rn bListener.jPanel2 = pane;rn ButtonListener bListener2 = new ButtonListener(table);rn b5.addActionListener(bListener2);rn rn b1.addActionListener(bListener);rn b2.addActionListener(bListener);rn b3.addActionListener(bListener);rn b4.addActionListener(bListener);rnrn panel.add("Center", pane);rn panel.add("S<em>out</em>h", panel2);rn panel.add("North", panel3);rn panel.setBorder(BorderFactory.createTitledBorder("房间信息"));rn rn rn rn return panel;rn rn JPanel dingdan() rn JTable dingdan = order();rn JScrollPane pane = new JScrollPane(dingdan);rn JPanel jp10 = new JPanel(new BorderLay<em>out</em>());rn jp10.add("Center", pane);rn JButton b1 = new JButton("确定");rn JButton b2 = new JButton("刷新");rn jp10.add("S<em>out</em>h", b1);rn jp10.add("North",b2);rn ButtonListener bListener1 = new ButtonListener(dingdan);rn b1.addActionListener(bListener1);rn b2.addActionListener(bListener1);rn return jp10;rn rn JTable order() //生成订单的表格rn Vector lieV = new Vector();rn Vector hangV = new Vector();rn try rn Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");rn Connection con;rn con = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;DataBaseName=Hotel", "sa", "123");rn PreparedStatement statement = con.prepareStatement("Select * from 订单 where Userid =? ");rn statement.setString(1, new MainClass().getname());rn ResultSet rs = statement.executeQuery();rn while (rs.next()) rn Vector hangv = new Vector();rn hangv.add(Integer.parseInt(rs.getString(1)));rn hangv.add(rs.getString(2)); rn hangv.add((rs.getString(3))); rn hangv.add((rs.getString(4))); rn hangv.add((rs.getInt(5))); rn hangv.add((rs.getString(6))); rn hangv.add((rs.getInt(7)));rn hangV.add(hangv);rn rn catch (Exception e) rn System.<em>out</em>.println("Error" + e);rn rn final Object Lie[] = "订单编号", "用户", "房间编号", "订单日期","数量", "状态","价格" ;rn lieV.add("订单编号");rn lieV.add("用户");rn lieV.add("房间编号");rn lieV.add("订单日期");rn lieV.add("数量");rn lieV.add("状态");rn lieV.add("价格");rn rn //JTable jiu = new JTable(row, Lie); // 建立表格rn DefaultTableModel tableModel = new DefaultTableModel(hangV, lieV);rn JTable jiu = new JTable(tableModel); rn jiu.setPreferredScrollableViewportSize(new Dimension(400, 300));rn jiu.setRowHeight(30);rn jiu.setRowMargin(5);rn jiu.setRowSelectionAllowed(true);rn jiu.setSelectionBackground(Color.WHITE);rn jiu.setSelectionForeground(Color.red);rn jiu.setGridColor(Color.BLACK);rn // jiu.selectAll();rn jiu.setRowSelectionInterval(0, 0);rnrn //jiu.clearSelection();rn jiu.setDragEnabled(false);rn jiu.setShowGrid(true);rn jiu.setShowHorizontalLines(false);rn jiu.setShowVerticalLines(false);rn //jiu.doLay<em>out</em>();rn jiu.setBackground(Color.LIGHT_GRAY);rn //ButtonListener bListener = new ButtonListener(jiu, rid);rn //bListener.otherTable = jiu;rn return jiu;rn rn //!!!!rn JTable jiudian() //生成酒店的表格 rn // 用向量来实现动态的大小rn //Object 可以不用了rn Vector lieV = new Vector();rn Vector hangV = new Vector();rn Object row[][] = new Object[30][30];rn try rn Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");rn Connection con;rn con = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;DataBaseName=Hotel", "sa", "123");rn Statement statement = con.createStatement();rn ResultSet rs = statement.executeQuery("Select * from 房间");rn int x = 0;rn int y = 0;rn rn while (rs.next()) rn Vector hangv = new Vector();rn row[x][y] = Integer.parseInt(rs.getString("rid"));rn hangv.add(row[x][y]);rn y++;rn row[x][y] = rs.getInt("Rprice");rn hangv.add(row[x][y]);rn y++;rn row[x][y] = (rs.getString("raddress"));rn hangv.add(row[x][y]);rn y++;rn row[x][y] = (rs.getString("rtype"));rn hangv.add(row[x][y]);rn y++;rn row[x][y] = (rs.getString("rstate"));rn hangv.add(row[x][y]);rn x++;rn y = 0;rn hangV.add(hangv);rn rn catch (Exception e) rn System.<em>out</em>.println("Error" + e);rn rn final Object Lie[] = "编号", "价格", "位置", "类型", "状态" ;rn lieV.add("编号");rn lieV.add("价格");rn lieV.add("位置");rn lieV.add("类型");rn lieV.add("状态");rn rn //JTable jiu = new JTable(row, Lie); // 建立表格rn DefaultTableModel tableModel = new DefaultTableModel(hangV, lieV);rn JTable jiu = new JTable(tableModel); rn jiu.setPreferredScrollableViewportSize(new Dimension(400, 300));rn jiu.setRowHeight(30);rn jiu.setRowMargin(5);rn jiu.setRowSelectionAllowed(true);rn jiu.setSelectionBackground(Color.WHITE);rn jiu.setSelectionForeground(Color.red);rn jiu.setGridColor(Color.BLACK);rn // jiu.selectAll();rn jiu.setRowSelectionInterval(0, 0);rnrn //jiu.clearSelection();rn jiu.setDragEnabled(false);rn jiu.setShowGrid(true);rn jiu.setShowHorizontalLines(false);rn jiu.setShowVerticalLines(false);rn jiu.doLay<em>out</em>();rn jiu.setBackground(Color.LIGHT_GRAY);rnrn return jiu;rn rnrnrnrnrnErrorjava.lang.IllegalArgumentException: Row <em>index</em> <em>out</em> of <em>range</em>rn实在不知道怎么修改rn
grid index out of range
beginrn dmData.adoQCode.open;rn dmData.adoQCode.Append;rn dmData.adoQCode.FieldByName('Type').AsString := cbbType.Text;rn dmData.adoQCode.FieldByName('Value').AsString := edtValue.Text;rn dmData.adoQCode.FieldByName('Mem').AsString := edtMem.Text;rn dmdata.adoQCode.Post;rn end;rn我用的是DBgrid和Access库,在添加一条记录时报出grid <em>index</em> <em>out</em> of <em>range</em> 的错误,请各位知道的加以指点
index out of range exception??
question:rn [color=#0000FF] rn <em>index</em> <em>out</em> of <em>range</em> exception??[/color]rnrnerror code :rnrn [color=#FF00FF] if (!Convert.IsDBNull(reader["Name"]))rn username = reader["Name"].ToString();[/color]rnrnrnsources code:rnrn public bool LoginUser(<em>string</em> username,<em>string</em> pwd)rn rn rn bool exists = false;rn SqlParameter[] parms = new SqlParameter[2];rn parms[0] = new SqlParameter("@name", SqlDbType.NVarChar, 100);rn parms[1] = new SqlParameter("@password", SqlDbType.NVarChar, 100);rn parms[0].Value = username;rn parms[1].Value = pwd;rn SqlDataReader reader = DbTools.ExecuteReader("LoginUserProce", parms);rnrn if (reader.Read())rn rn exists = true;rn [color=#0000FF] if (!Convert.IsDBNull(reader["name"]))rn username = reader["name"].ToString();[/color]rn if (!Convert.IsDBNull(reader["password"]))rn pwd = reader["password"].ToString();rn rn rn reader.Close();rn return exists;rnrn rnrnrn
错误提示:String index out of range: 500?
请教大家: rn我在数据录入时把好几个字段用"*"分开,存储在一个字段中。在从数据库中取出数据时,语句如下. rnResultSet rs=st.executeQuery("select * from tblMain"); rnrs.next(); rnString resip=rs.getString("resipID"); rnzym=rs.getString("title"); rnfujiazym=rs.getString("titleAlternative"); rnint m=fujiazym.length(); rnint i=0; rnint j=0; rnint k=0; rnString fjzym[]; rnfjzym=new String[20]; rnrnwhile(!(fujiazym.equals("*"))) rnj=fujiazym.<em>index</em>Of('*'); rnk++; rnfjzym[k]=fujiazym.sub<em>string</em>(i,j); rnfujiazym=fujiazym.sub<em>string</em>(j+1,m); rn rn执行后出现错误提示, rnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 500 rn我的数据库中的titleAlternative字段大小是500.请教是何原因rnrn
String index out of range: -1 异常,急需处理
nnnn  
string index out of range字符串怎么越界了?
打印出来s.encode('hex')是 0300 但是打印s[1]却报下面错误?rn<em>string</em> <em>index</em> <em>out</em> of <em>range</em>
求助:String index out of range: 0 !!!
[img=https://img-bbs.csdn.net/upload/201606/27/1467029138_584565.png][/img]rn当程序在执行这条语句时,报String <em>index</em> <em>out</em> of <em>range</em>: 0!!异常 但是自己也没有使用过数组之类的容器,求各位大大帮助,已经纠结两天了!
String index out of range: -91 怎么解决?
String files = "[2010-07-19 08:20:51] Uin=1072, UserName=林立, Addr=XXXX:1047, Action=login, Mode=local, Result=0(success)\n"rn+ "[2010-07-19 22:55:08] Uin=1017, UserName=伟文, Addr=XXXX:1070, Action=log<em>out</em>, Mode=local";rn rn String loginTime="";rn int uin=0;rn String userName="";rn String addr="";rn String action="";rn String mode="";rn String result="";rn String[] lines = files.split("\n");rn for(String line:lines)rn rn vo = new LogVO();rnrn int <em>index</em>1 = line.<em>index</em>Of("[");rn int <em>index</em>2 = line.<em>index</em>Of("]");rn loginTime = line.sub<em>string</em>(<em>index</em>1+1, <em>index</em>2);rn rn int <em>index</em>3 = line.<em>index</em>Of("Uin=");rn int <em>index</em>4 = line.<em>index</em>Of(",", <em>index</em>3);rn uin = Integer.parseInt(line.sub<em>string</em>(<em>index</em>3+4, <em>index</em>4));rnrn int <em>index</em>5 = line.<em>index</em>Of("UserName=");rn int <em>index</em>6 = line.<em>index</em>Of(",", <em>index</em>5);rn userName = line.sub<em>string</em>(<em>index</em>5+9, <em>index</em>6);rnrn int <em>index</em>7 = line.<em>index</em>Of("Addr=");rn int <em>index</em>8 = line.<em>index</em>Of(",", <em>index</em>7);rn addr = line.sub<em>string</em>(<em>index</em>7+5, <em>index</em>8);rnrn int <em>index</em>9 = line.<em>index</em>Of("Action=");rn int <em>index</em>10 = line.<em>index</em>Of(",", <em>index</em>9);rn action = line.sub<em>string</em>(<em>index</em>9+7, <em>index</em>10);rnrn int <em>index</em>11 = line.<em>index</em>Of("Mode=");rn int <em>index</em>12 = line.<em>index</em>Of(",", <em>index</em>11);rn mode = line.sub<em>string</em>(<em>index</em>11+5, <em>index</em>12);//到了这里就说下标越界了rn if(line.contains("Result="))rn rn int <em>index</em>13 = line.<em>index</em>Of("Result=");rn int <em>index</em>14 = line.<em>index</em>Of("\n", <em>index</em>13);rn result = line.sub<em>string</em>(<em>index</em>13+7, 8);rn rn rn vo.setLoginTime(loginTime);rn vo.setUin(uin);rn vo.setUserName(userName);rn vo.setAddr(addr);rn vo.setAction(action);rn vo.setMode(mode);rn vo.setResult(result);rn list.add(vo);rn rnrn我现在是从日志里面解析出各个字段信息,但是到mode = line.sub<em>string</em>(<em>index</em>11+5, <em>index</em>12);//这一行就报错:String <em>index</em> <em>out</em> of <em>range</em>: -91,下面一个result也是越界,这个要怎么改呢?rn
String index out of range: -6 的错误
初次使用hibernate,然后将一个页面中的数据插入到数据库中时,就阴魂不散的发生了这个错误,我插入的值只是一位:“1”,却总是报这个错,有谁也碰到过这个<em>问题</em>吗?
tomcat启动出现Caused by: java.lang.StringIndexOutOfBoundsException: String index out
亲爱的各位···我在MYSQL项目向ORACLE移值的时候出现一个错误可是却不知道怎么办只好向各位求助,各位帮忙啊!!具体错误如下:(这是在TOMCAT启动项目时候报的错··)rnrnrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 0rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 0rn at java.lang.String.charAt(String.java:687)rn at org.hibernate.mapping.Table.setName(Table.java:149)rn at org.hibernate.cfg.Mappings.addTable(Mappings.java:167)rn at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:290)rn at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:273)rn at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:144)rn at org.hibernate.cfg.Configuration.add(Configuration.java:669)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:631)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 39 morern2011-6-9 9:47:50 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2011-6-9 9:47:50 org.apache.catalina.core.StandardContext startrn严重: Context [/Shanwei] startup failed due to previous errors
string subscript out of range
我使用rntemp.erase(temp.end()-1);rn后编译时没错,运行时出现RT错误!高手帮忙啊!
list index out of range 求解
import os,re,linecacherndef fun(path):rn for root,dirs,files in os.walk(path):rn for fn in files:rn rootpath = os.path.join(root,fn)rn filetype=fn.split('.')[1]rn if filetype in['xml']:rn print(rootpath) rn new=(linecache.getline(rootpath,4)).rstrip()rn print (new)rn #print (type(new))rn newsp=new.split('.')rn #print (type(newsp))rn print(newsp[1])rn f= open(rootpath,'r+')rn d=f.read()rn open(rootpath, 'w').write(re.sub(r'a', 'b', d))rn f.close()rn else:rn continuernfun(r'C:\wmpub')rnrnrnrnC:\wmpub\a.xmlrnrnTraceback (most recent call last):rn File "C:\Documents and Settings\Administrator\桌面\test.py", line 21, in rn fun(r'C:\wmpub')rn File "C:\Documents and Settings\Administrator\桌面\test.py", line 14, in funrn print(newsp[1])rnIndexError: list <em>index</em> <em>out</em> of <em>range</em>rn>>>
String out of range : 1303128
engineurl:http://127.0.0.12:8888/transrnparameterKey:config=BR&Code=010&x1=116.810918&y1=39.912719&x2=121.6018793&y2=38.8028643&r<em>out</em>eType=0&language=cn&ver=2.0rnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 1303128rn at java.lang.String.checkBounds(String.java:401)rn at java.lang.String.(String.java:442)rn at com.mapabc.sis.server.core.service.impl.BusR<em>out</em>eServiceImpl.byteToString(BusR<em>out</em>eServiceImpl.java:313)rn at com.mapabc.sis.server.core.service.impl.BusR<em>out</em>eServiceImpl.format2NewBusR<em>out</em>eBeans(BusR<em>out</em>eServiceImpl.java:183)rn at com.mapabc.sis.server.core.service.impl.BusR<em>out</em>eServiceImpl.invokeService(BusR<em>out</em>eServiceImpl.java:72)rn at com.mapabc.sis.server.core.service.CoreServices.processRequest(CoreServices.java:192)rn at com.mapabc.sis.server.core.service.CoreServices.doGet(CoreServices.java:343)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.mapabc.sis.server.core.security.SecurityFilter.doFilter(SecurityFilter.java:279)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at com.mapabc.sis.server.core.access.LBSServer.urlforward(LBSServer.java:196)rn at com.mapabc.sis.server.core.access.LBSServer.doGet(LBSServer.java:93)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:662)rnjava.lang.NullPointerExceptionrn at com.mapabc.sis.util.coordsfactory.action.BusR<em>out</em>eCoords.invokeCoords(BusR<em>out</em>eCoords.java:42)rn at com.mapabc.sis.server.core.service.CoreServices.processRequest(CoreServices.java:211)rn at com.mapabc.sis.server.core.service.CoreServices.doGet(CoreServices.java:343)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.mapabc.sis.server.core.security.SecurityFilter.doFilter(SecurityFilter.java:279)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at com.mapabc.sis.server.core.access.LBSServer.urlforward(LBSServer.java:196)rn at com.mapabc.sis.server.core.access.LBSServer.doGet(LBSServer.java:93)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:662)rnsum time=9556rnrnrn我在运行服务时tomcat出现如下提示,但是服务并没发生中断之类的错误。这个<em>问题</em>是什么原因导致呢。该如何解决呢
Parameter index out of range 谢谢!
谢谢大家!帮我看看这个错误怎么回事,谢谢!!rnrnjava.sql.SQLException: Parameter <em>index</em> <em>out</em> of <em>range</em> (1 > number of parameters, which is 0).rn at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:2493)rn at com.mysql.jdbc.PreparedStatement.setString(PreparedStatement.java:3213)rn at database.LinkDB.addBook(LinkDB.java:35)rn at action.addBookAction.execute(addBookAction.java:37)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)rn at java.lang.Thread.run(Thread.java:595)rn
多文件上传问题 String index out of range: -1在线等!
我做了一个多文件的<em>上传</em>,但是测试的是总是提醒我这样的话String <em>index</em> <em>out</em> of <em>range</em>: -1rnrn不知道是什么意思,希望大家帮帮,代码在这!哪个地方需要改进rnpublic ActionForward execute(rn ActionMapping mapping,rn ActionForm form,rn HttpServletRequest request,rn HttpServletResponse response) rn CompanyintroForm companyintroForm = (CompanyintroForm) form;rn FormFile file = companyintroForm.getTheFile();rn FormFile file2 = companyintroForm.getTheFile2();rn FormFile file3 = companyintroForm.getTheFile3();rn Map fileMap = new HashMap();rn fileMap.put("file" , file);rn fileMap.put("file2" , file2);rn fileMap.put("file3" , file3);rn Set fileSet = fileMap.entrySet();rn Iterator iter = fileSet.iterator();rn// 取当前系统路径E:\Tomcat5\webapps\strutsUpload\ 其中strutsUpload为当前contextrn String filePath = this.getServlet().getServletContext().getRealPath("/");rn// 保存文件的文件夹rn File savePath = new File(filePath + "UploadFiles\\");rn filePath = filePath+ "UploadFiles\\";rn if (!savePath.exists()) rn savePath.mkdir();rn rn while (iter.hasNext()) rn Map.Entry unit = (Map.Entry) iter.next();rn String key = (String) unit.getKey();rn FormFile file0 = (FormFile) unit.getValue(); rn //文件大小符合要求,且是图片文件rn if ((file.getFileSize() >= 1)&& DealPhoto.isPhoto(file)) rn //图片类别rn String photoType = key.sub<em>string</em>(key.<em>index</em>Of("*") + 1, keyrn .lastIndexOf("*"));rn //图片描述rn String photoName = key.sub<em>string</em>(key.lastIndexOf("*") + 1, keyrn .length());rn rn //存数据库操作,在数据库中保存文件的名称,类型,及在服务器上的相对路径rn //rn rn //判断是否重名rn if(DealPhoto.isFileExist(file.getFileName(),filePath))rn DealPhoto.rename(file.getFileName(),filePath);rn try rn InputStream stream = file.getInputStream();// 把文件读入rn // 建立一个<em>上传</em>文件的输出流 rn OutputStream bos = new FileOutputStream(filePath+file.getFileName());rn int bytesRead = 0;rn byte[] buffer = new byte[8192];rn while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) rn bos.write(buffer, 0, bytesRead);// 将文件写入服务器rn rn bos.close();rn stream.close();rn catch (Exception e) rn e.printStackTrace();rn rn rnrn rn return mapping.findForward("haha");rn rnrnrnrn
关于Grid Index Out Of Range 的问题
我在窗体中添加了一个PageContol组件,通过切换PageContol的页面来实现不同数据表的全部记录显示,代码如下rnprocedure TForm2.PageControl1Change(Sender: TObject);rnbeginrn if pagecontrol1.TabIndex=0 thenrn beginrn datamodule1.ADOQuery2.Close;rn with datamodule1.ADOQuery1 dorn beginrn close;rn sql.Clear;rn sql.Add('select * from 年度培训计划表 order by 年度, 编号 ASC');rn open;rn last;rn end;rn DBGrid1.DataSource:=datamodule1.DataSource1;rn DBNavigator1.DataSource:=datamodule1.DataSource1;rn end;rn if pagecontrol1.TabIndex=1 thenrn beginrn datamodule1.ADOQuery1.Close;rn with datamodule1.ADOQuery2 dorn beginrn close;rn sql.Clear;rn sql.Add('select * from 计划外培训项目表 order by 编号 ASC');rn open;rn last;rn end;rn DBGrid1.DataSource:=datamodule1.DataSource2;rn DBNavigator1.DataSource:=datamodule1.DataSource2;rn end;rnend;rn窗体显示时Pagecontrol的Tab<em>index</em>为0,代码如下:rnprocedure TForm2.FormShow(Sender: TObject);rnbeginrn dbgrid1.DataSource:=datamodule1.DataSource1;rn dbnavigator1.DataSource:=datamodule1.DataSource1;rn with datamodule1.ADOQuery1 dorn beginrn close;rn sql.Clear;rn sql.Add('select * from 年度培训计划表 order by 年度, 编号 ASC');rn open;rn last;rn end;rnend;rnrn然后我又增加了一个按钮,点击时显示表的全部记录,代码如下:rnprocedure TForm2.QueryAllClick(Sender: TObject);rnbeginrn if pagecontrol1.TabIndex=0 thenrn beginrn datamodule1.ADOQuery2.Close;rn with datamodule1.ADOQuery1 dorn beginrn close;rn sql.Clear;rn sql.Add('select * from 年度培训计划表 order by 年度, 编号 ASC');rn open;rn last;rn end;rn DBGrid1.DataSource:=datamodule1.DataSource1;rn DBNavigator1.DataSource:=datamodule1.DataSource1;rn end;rn if pagecontrol1.TabIndex=1 thenrn beginrn datamodule1.ADOQuery1.Close;rn with datamodule1.ADOQuery2 dorn beginrn close;rn sql.Clear;rn sql.Add('select * from 计划外培训项目表 order by 编号 ASC');rn open;rn last;rn end;rn DBGrid1.DataSource:=datamodule1.DataSource2;rn DBNavigator1.DataSource:=datamodule1.DataSource2;rn end;rnend;rnrn现在的<em>问题</em>在于,当窗体显示时,我点击该按钮,就会出错,弹出出现异常:Grid <em>index</em> <em>out</em> of <em>range</em> 。rn利用F7跟踪调试,发现错误在last这条语句上。rnrn我搞了半天也没弄明白为什么会出错,敬请大家赐教!!!!!!
关于“Grid index out of range”的问题
我的程序rn 1)所用控件rn TDBGrid *DBGrid1;rn TDBNavigator *DBNavigator1;rn TDataSource *DSSQL;rn TQuery* Query1;rn 2)控年设置rn DSSQL->DataSet = Query1;rn DBNavigator1->DataSource = DSSQL;rn DBGrid1->DataSource = DSSQL;rnrn 3)出错的情况rn 3-1) 第一次执行rnrn Query1->Close();rn Query1->SQL->Clear();rn Query1->SQL->Add("select * from aa where qsOpen():rnrn 然后点击DBNavigator1控件的“Last”按钮,程序正常rn 3-2)第二次执行rnrn Query1->Close();rn Query1->SQL->Clear();rn Query1->SQL->Add("select * from aa where qsOpen():rnrn 然后点击DBNavigator1控件的“Last”按钮,程序报“Grid <em>index</em> <em>out</em> of <em>range</em>”错. 点警告框的“确定”按钮后,进入C++Builder的调试状态,不作任何变动,直接rn“RUN”按钮,回到程序运行状态,再按DBNavigator1控件的“Last”按钮,程序又正常。rn 以后每再次重新用SQL查询后,想到数据集的最后一条记录(用语句Query1->Last();也一样),非要出次错,才会正常,不知是何道理,不知有何对策,我估计是DBGrid1的设置有误,但不知具体原因。rn 请赐教,rn为感!!rnrnrn
急急...送分。。关于JSP的错误:java.lang.StringIndexOutOfBoundsException: String index out of range: -1??
rn 在一个FOR循环中,我至少调用了十多个String类型,运行JSP程序有的时候可以执行,rn有时出现错误:rnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: -1rnrn 怎样释放String?? 怎样解决这个错误??
Error #: 2301 : internal compiler error: java.lang.StringIndexOutOfBoundsException: String index out of range: 26454
这是什么原因呢,在线等待。rn我用的是jb+jboss3.2+tomcat4.1.24rn
Python2.7:数据清洗的list index out of range问题
```rnfrom csv import readerrnrndata_rdr = reader(open('mn.csv','rb'))rnheader_rdr = reader(open('mn_headers.csv','rb'))rnrndata_rows = [d for d in data_rdr]rnheader_rows = [h for h in header_rdr]rnrnbad_rows = []rnrnfor h in header_rows:rn if h[0] not in data_rows[0]:rn bad_rows.append(h)rnrnfor h in bad_rows:rn header_rows.remove(h)rnrnprint len(header_rows)rnrn Traceback (most recent call last):rn File "/home/sewell-hoo/datafiles/test_list<em>index</em>.py", line 12, in rn if h[0] not in data_rows[0]:rnIndexError: list <em>index</em> <em>out</em> of <em>range</em>rn```rn正在读《python数据处理》一书,这是第7章第2小节的内容:rn处理2个CSV文件,却一直提示List <em>index</em> <em>out</em> of <em>range</em>,实在是想不到哪里错了。rn请忽略图中配图的文件'mn_header_update.csv',两者是一个文件rnrn![图片说明](https://img-ask.csdn.net/upload/201711/06/1509974191_107534.png)
求助:string subscript out of range
新手求助!rn//Main.cpprn#include rn#include rn#include rn#include rnint main()rnrn using namespace std;rn ofstream <em>out</em>File;rn <em>out</em>File.open("可修复装备.txt");rn ifstream inFile;rn inFile.open("Commodity.ini");rn if (!inFile.is_open())rn rn c<em>out</em> <<
string subscript out of range! 急!!!!
rn编译程序出现的Assert<em>问题</em>!rn弹出一个Visual C++ Debug Library错语!rnrn错误点:rnrnQueryInterface()查找接口时,请问这程情况一般是什么<em>问题</em>!?
提示string subscript out of range
[code=c]int main()rnrn int i, j;rn <em>string</em> _strIn;rn vector>stu; //動的な二次元vector配列stuを宣言するrn vector_stu; //動的なvector配列_stuを宣言するrn <em>string</em> token;rn int bugs = 0;rnrn //ifstream fin("E:\\newfile.csv"); //CSV OPENrn ifstream fin("E:\\01.csv");rnrn while (getline(fin,_strIn)) //一行ずつ読み込むrn rn <em>string</em>stream sstr(_strIn);rnrn while (getline(sstr,token,',')) //”、”マックを分けるマックとして、一行の文字列を分けるrn rn _stu.push_back(token); //vector配列に文字列を一個ずつ入れるrn rnrn stu.push_back(_stu); //vector配列を二次元vector配列に入れるrn _stu.clear(); //_stu リセットrn /*c<em>out</em> << _strIn << endl;*/rn rnrn for (i=0;i
String index out of range: -2 是什么意思呢?
String <em>index</em> <em>out</em> of <em>range</em>: -2 是什么意思呢?rn-1是越界,-2呢?rn请高手解释一下啊!
让人迷糊的String index out of Range??新手求解
[code=Java]rnpublic int Run(String s)rn rn int len = s.length(); //字符串长度lenrn int n=0;rn int i=1;rn rn for (i=1;i,返回一个答案ans;rnrn当输入上述例子提示: StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 18rnrn求解??万分感谢
String index out of range:6 请问这个错误信息是什么意思
String <em>index</em> <em>out</em> of <em>range</em>:6 请问这个错误信息是什么意思rnrn那位高手能给点意见阿
怎么会出现String index out of range: 25的情况?
我用以下语句时:if(content.length()>30) title=title.sub<em>string</em>(0,25)+"...";怎么出现了String <em>index</em> <em>out</em> of <em>range</em>: 25的情况!这是什么<em>问题</em>所引起的?有进好像又不会出现这种<em>问题</em>。请高手指点。
javax.servlet.ServletException: String index out of range: 10这是什么原因
同一种类别下面有按照xx,yy,zz等等搜索,有时输入xx是出现上述错误,有时输入yy时出现上述错误,这是什么原因,该如何解决啊?谢谢大哥们指教
求救Tomcat4.04 + jdk1.4.0 遇到 String index out of range: 23
程序如下rnrnrnrn rnrnrn rnrnrnrnrnrnrnrnrnrnrnrnrn每刷新3次到4次出现如下错误,rnrnApache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Errorrnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage Internal Server Errorrnrndescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.rnrnexception rnrnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: 23rn at java.lang.String.sub<em>string</em>(String.java:1473)rn at org.apache.jsp.time$jsp._jspService(time$jsp.java:68)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)rn at java.lang.Thread.run(Thread.java:536)rnrn
为什么会出现 String index out of range: -13 异常的?
int start = xmlMsg.<em>index</em>Of(tagName_1);rn rn start += tagName_1.length(); //计算向后偏移长度rnrn int end = xmlMsg.<em>index</em>Of(tagName_2);rn rn // 截取之间消息的值rn String value = xmlMsg.sub<em>string</em>(start, end).trim();rn System.<em>out</em>.println(value);rnrnrn在最后两个语句出现了这样的错误:rnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: -13rn at java.lang.String.sub<em>string</em>(String.java:1937)rn at util.tools.MessageOperation.getXMLValue(MessageOperation.java:62)rn at server.RecTranThread.run(RecTranThread.java:488)rnrn麻烦大家了~~
对《lucene高亮显示时,String index out of range异常》的回答
今天在搜索结果高亮时候碰到了一个小<em>问题</em>,是“lucene高亮显示时,String <em>index</em> <em>out</em> of <em>range</em>异常”,百思不得其解,以前并没有出现过,后来google了下,终于觅得解决办法,哈哈。   搜了下javaeye,以前也有同学碰到和我一样的<em>问题</em>,在论坛上发问的,可是没有一个解答的,可能因为他没有贴代码的原因吧。 这个旧帖子是http://www.iteye.com/topic/8...
String index out of range: -1超出索引?怎么办?
页面实现修改图像的代码出错rnrnrnrn[code=java]int count=p_image.<em>index</em>Of("images");rn String p_image_temp=p_image.sub<em>string</em>(count,p_image.length());[/code]rnrnrnrn修改后不会出现错误,当时无法识别路径了rn[img=https://img-bbs.csdn.net/upload/201606/26/1466928775_251240.png][/img]rnrn[code=java]int count=p_image.<em>index</em>Of("images");rn String p_image_temp=p_image.sub<em>string</em>(count+1,p_image.length());[/code]rnrnrnrn该怎么办???
字符串异常下标越界:String index out of range: -X
最近使用subString()操作字符串的时候总是报下标越界,我改来改去,debug3000遍,终于发现了一个错误,我excel表里有5行测试数据,但是sheet.getLastRowNum(),也就是获得最后一行,却是有6行数据。<em>问题</em>居然出现在excel表。于是我清空idea缓存重启,新建excel表,重新输入测试数据,读取成功。 所以有时候这种错误并不在代码里,可能是你的数据出现了<em>问题</em>。 我曾...
报错String index out of range是什么意思?在线等
报错String <em>index</em> <em>out</em> of <em>range</em>是什么意思?在线等
String index out of range: -1怎么处理啊
public void parseRequestInfo()rn if(null==requestInfo||(requestInfo=requestInfo.trim()).equals(""))rn return ;rn rn /*rn * 从信息的首行分解出:请求方法,路径,参数)(get可能存在)rn * eg:GET /<em>index</em>.html?uname=123&pwd=123 HTTP/1.1rn * 如果为post,请求参数可能在正文最后rn * rn */rn String paramString="";//接收请求参数rn //1.获取请求方式rn String firstLine=requestInfo.sub<em>string</em>(0,requestInfo.<em>index</em>Of(CRLF));//**********************************报错行rn int idx=requestInfo.<em>index</em>Of("/");rn rn this.method=firstLine.sub<em>string</em>(0,idx).trim();rn String urlStr=firstLine.sub<em>string</em>(idx,firstLine.<em>index</em>Of("HTTP/")).trim();rn if(this.method.equalsIgnoreCase("post"))rn this.url=urlStr;rn paramString=requestInfo.sub<em>string</em>(requestInfo.lastIndexOf(CRLF)).trim();rn else if(this.method.equalsIgnoreCase("get"))rn if(urlStr.contains("?"))rn String[] urlArray=urlStr.split("\\?");rn this.url=urlArray[0];rn paramString=urlArray[1];//接收请求参数rn else rn this.url=urlStr;rn rn rn //不存在请求参数rn if(paramString.equals(""))rn return;rn rn //2.将请求参数封装到map中rn parseParames(paramString);rn rn public void parseParames(String parseString)rn //分割,将请求字符串转成数组rn StringTokenizer token=new StringTokenizer(parseString,"&");rn while(token.hasMoreTokens())rn String keyValue=token.nextToken();//循环Returns the next token from this <em>string</em> tokenizer.rnrnrn String[] keyValues=keyValue.split("=");rn if(keyValues.length==1)//rn keyValues=Arrays.copyOf(keyValues, 2);rn keyValues[1]=null;//代表空,赋值给“=”后面部分rn rn String key=keyValues[0].trim();rn String value=(null==keyValues[1]?null:decode(keyValues[1].trim(),"gbk"));rn //转换成map,分拣rn if(!parameterMapValue.containsKey(key))rn parameterMapValue.put( key, new ArrayList());rn rn rn List values=parameterMapValue.get(key);rn values.add(value);rn rn rn rn报错的行我用“***************”标出来了,不知道怎么改,求救!
请问这个错误怎么改:String index out of range: 10
代码如下:rnrnrnrnrnrn 个人请假查询rn rnrn rnrn rn rn rn rn 人员姓名rn rn 开始时间rn rn 结束时间rn rn 小时数rn rn 原因rn rn 申请时间rn rn 种类rn rn 批示rnrn rn rn rn -//:rn -//:rn rn rn rn rnrn rn有薪休假rn无薪休假rn无事故rn Yrnrn rnrn rn rn rnrn 返回 rnrnrn字符串下标益出?怎么改?急等!谢谢
String index out of 4解决方法
String <em>index</em> <em>out</em> of 4解决方法
index out of range"提示......">又一个"Grid index out of range"提示......
为何我的Adoquery增加记录有时会出现"Grid <em>index</em> <em>out</em> of <em>range</em>"?何解?
求助:IndexError: list index out of range
使用Spyder(python 3.6)代码为:rn#!/usr/bin/env python3rnimport sysrnrnfrom xlrd import open_workbookrnfrom xlwt import Workbookrnrninput_file = sys.argv[1]rn<em>out</em>put_file = sys.argv[2]rnrn<em>out</em>put_workbook = Workbook()rn<em>out</em>put_worksheet = <em>out</em>put_workbook.add_sheet('jan_2013_<em>out</em>put')rnrnwith open_workbook(input_file) as workbook:rn worksheet = workbook.sheet_by_name('january_2013')rn for row_<em>index</em> in <em>range</em>(worksheet.nrows):rn for column_<em>index</em> in <em>range</em>(worksheet.ncols):rn <em>out</em>put_worksheet.write(row_<em>index</em>, column_<em>index</em>, worksheet.cell_value(row_<em>index</em>, column_<em>index</em>))rn<em>out</em>put_workbook.save(<em>out</em>put_file)rnrn执行:python 2excel_parsing_and_write.py sale_2013 L<em>out</em>put.xlsrnrn出现<em>问题</em>,输出;rnPython 3.6.2 |Anaconda custom (64-bit)| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bit (AMD64)]rnType "copyright", "credits" or "license" for more information.rnrnIPython 6.1.0 -- An enhanced Interactive Python.rnrnrnrnrunfile('C:/LearnPython/excel/2excel_parsing_and_write.py', args='sales_2013.xlsx', wdir='C:/LearnPython/excel')rnTraceback (most recent call last):rnrn File "", line 1, in rn runfile('C:/LearnPython/excel/2excel_parsing_and_write.py', args='sales_2013.xlsx', wdir='C:/LearnPython/excel')rnrn File "H:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfilern execfile(filename, namespace)rnrn File "H:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfilern exec(compile(f.read(), filename, 'exec'), namespace)rnrn File "C:/LearnPython/excel/2excel_parsing_and_write.py", line 8, in rn <em>out</em>put_file = sys.argv[2]rnrnIndexError: list <em>index</em> <em>out</em> of <em>range</em>
dbGrid index out of range怎么解决
我利用adoquery控减连接数据库。用dbgrid空件显示内容,但是如果数据库中的纪录超过了一定的数量的时候,救护出现错误:代码如下:rngrid <em>index</em> <em>out</em> of <em>range</em>rnrn我知道是dbgrid控减的<em>问题</em>,从那里可以设置dbgrid空间的范围属性。
脚本报错:IndexError: list index out of range
[code=Python]j=0rnd=os.listdir(DBDIR)rnfor j in <em>range</em>(0,len(d)-1):rn if d[j][-3:] != 'sql':rn del d[j][/code]rnrnrn这段代码为什么总是报IndexError: list <em>index</em> <em>out</em> of <em>range</em>啊rnrn调试了一下,发现出错后,j的值是301rnrn但我led(d)值是300,我已经限制<em>range</em>(0,299),为什么j值会超出啊rn
Python3 Error: list index out of range
[code=python]rnrnf = open ('userinfo.txt')#flie_adrnlines = f.readlines()rnnum_f = 0rnnum_m = 0rnfor i in lines:rn name = i.split(',')[0]rn birthday = i.split(',')[1]rn print(name,birthday)rn if i.split(',')[2] == 'male':rn num_m = num_m+1rn else:rn num_f = num_f +1rnprint ("There is %d male emp" %num_m)rnprint ("There is %d emp in this office" %(num_m+num_f))rnrn[/code]rnrn[code=text]rnuserinfo.txtrnrnfox,1995,male,rnhanmeimei,1990,female,rnliming,1989,male,rnasdf,1995,female,rn[/code]rnrnrn执行结果为 rn[code=python]rnfox 1995rnhanmeimei 1990rnliming 1989rnasdf 1995rnTraceback (most recent call last):rn Flie "test.py", line 14, in rn birthday = i.split(',')[1]rnIndexError: list <em>index</em> <em>out</em> of <em>range</em>rn[/code]rnrn这个报错无法理解 15行print已经成功输出了 反过头说14行超限了rnrnpython版本是3.5.0 rn系统是Red Hat Enterprise Linux 6rn用vim编译
Gridview删除的时候提示Index was out of range
[code=HTML]rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rnrn[code=C#]rnprotected void Page_Load(object sender, EventArgs e)rn rn if (!IsPostBack)rn rn showdata(0);rn rn rnrn //显示数据rn protected void showdata(int pageIndex)rn rn SqlConnection sqlcon;rn <em>string</em> strCon = ConfigurationSettings.AppSettings["ConnectionString"];rn <em>string</em> sqlstr = "select * from tjnews where type='发表文章' or type='实验室活动'";rn sqlcon = new SqlConnection(strCon);rn SqlDataAdapter myda = new SqlDataAdapter(sqlstr, sqlcon);rn DataSet myds = new DataSet();rn sqlcon.Open();rn myda.Fill(myds, "tjnews");rn DataView view = myds.Tables["tjnews"].DefaultView;rn <em>string</em> sort = "date desc,id desc";rn view.Sort = sort;rnrn GridView1.DataKeyNames = new <em>string</em>[] "id" ;//不加这个不能执行"删除"功能rn GridView1.DataSource = view;rn GridView1.PageIndex = pageIndex;rn GridView1.DataBind();rn rnrn //翻页事件rn protected void fangye(object sender, GridViewPageEventArgs e)rn rn showdata(e.NewPageIndex);rn rnrn //提示rn protected void tishi(object sender, GridViewRowEventArgs e)rn rn //如果是绑定数据行 ,判断是否是数据行rn if (e.Row.RowType == DataControlRowType.DataRow)rn rn //当鼠标停留时更改背景色rn e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#00A9FF'");rn //当鼠标移开时还原背景色rn e.Row.Attributes.Add("onmouse<em>out</em>", "this.style.backgroundColor=c");rnrn if (e.Row.RowState == DataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate)rn rn ((LinkButton)e.Row.Cells[6].Controls[0]).Attributes.Add("onclick", "javascript:return confirm('你确认要删除吗?')");rn rn rnrn //显示编号rn if (e.Row.RowIndex != -1)rn rn int id = e.Row.RowIndex + 1;rn e.Row.Cells[0].Text = id.ToString();rn rn rnrn //删除rn protected void RowDeleting(object sender, GridViewDeleteEventArgs e)rn rn GridViewRow row = GridView1.Rows[e.RowIndex];rnrn DataSet ds = new DataSet();rn <em>string</em> strcn = ConfigurationSettings.AppSettings["ConnectionString"];rn SqlConnection cn = new SqlConnection(strcn);rn cn.Open();rn <em>string</em> sql = "delete from tjnews where id ='" + int.Parse(GridView1.DataKeys[e.RowIndex].Value.ToString()) + "'";rn SqlCommand cm = new SqlCommand(sql, cn);rn cm.ExecuteNonQuery();//执行rn cn.Close();rnrn showdata(0);rn rn[/code]rnrn点击删除的时候会提示Index was <em>out</em> of <em>range</em>,在服务器上会,本地不会,请问是什么原因?
index out of range"">dbgird控件---->"grid index out of range"
我在用dbgird控件时, 当dbgird的宽度变大到一定程度, 当点击insert键插入信息时就出错,信息如下:rn"grid <em>index</em> <em>out</em> of <em>range</em>"  如何解决???什么原因???
Grid Index out of Range (TDBAdvGrid/D7)
我知道这个是表格索引越界了,可是dbGrid有没有办法不通过代码只是通过控件设置就可以自动添加记录呢?rnrn顺便请教一个<em>问题</em>,某个数字字段,要求值在2000-500000,dbGrid的输入格可以直接设置只接受符合条件的输入吗?
python程序错误IndexError: list index out of range
新学习python这个<em>问题</em>总是没法解决希望大家帮帮忙rn源码:rn[code=python]#! /usr/bin/env pythonrn#coding=utf-8rnimport timernimport osrnstr1 = open( r'C:\Users\python\Desktop\url.txt' ,'r').readlines()rnnum = 0rnwhile num %(str1[num])rnIndexError: list <em>index</em> <em>out</em> of <em>range</em>
delphi6 'grid index out of range' 'TDBNavigator'
TDBGrid可以顯示資料rn我使用TDBNavigator去控制TDBGrid的上一筆跟下一筆還有最後一筆跟第一筆rnrn執行時,如果先案最後一筆rn他就會出現Grid <em>index</em> <em>out</em> of <em>range</em>rnrn如果今天先按下一筆再案最後一筆,程式就可以很順利的執行rn請問rn這是什麼原因??rnrn我有網查了,說要去檢查<em>index</em>是不是 0 到 Count - 1 的数值rn想請問一下哪一個的<em>index</em>是TQUERY還是TDBGRID還是??
SSRS 2008 “Index was out of range…” Error
sql server report从05升级到08,查看报表出现如下<em>问题</em>,在05下看没有任何<em>问题</em>,大虾解决!!!rnrn客户端呈现期间出错。rnIndex was <em>out</em> of <em>range</em>. Must be non-negative and less than the size of the collection. Parameter name: <em>index</em>
Java out of range 问题
import java.util.*; rnimport java.io.*;rnrnpublic class test rn public static void main(String args[]) rn String M="Calif";rn rn Random rng=new Random();rn rn String K = "";rn StringBuffer my = new StringBuffer(M);rn StringBuffer my2 = new StringBuffer(K);rn System.<em>out</em>.println("length of this String is "+my.length());rn int Length=my.length();rn for(int r=0;r
Number is out of range问题
rn以下数据有可能是整数、小数相加。rncdsData.FieldByName('Total_Count').AsFloat :=cdsData.FieldByName('Total_Count').AsFloat+1;rnrn经常出现Number is <em>out</em> of <em>range</em><em>问题</em>
关于out of range问题
我用ClientDataSet执行下边的sql语句rnselect max(SHOW_SEQUENCE)as s from modulern未报错rn但是付值时temp:=temp_cds.fieldbyname('s').AsString;rn报错 <em>out</em> of <em>range</em>rn这是怎抹回事
Index is out of date的问题
为什么会有Index is <em>out</em> of date的错误,如何避免和解决
python爬虫中碰到IndexError: list index out of range问题
[code=python]soup = BeautifulSoup ( html, "lxml" )rntrs = soup.find_all('tr')[1:]rnmovies = []rnfor tr in trs:rn movie = rn tds = tr.find_all("td")rn title = tds[0].<em>string</em>rn category = tds[1].<em>string</em>rn nums = tds[2].<em>string</em>rn city = tds[3].<em>string</em>rn time = tds[4].<em>string</em>rn movie['title'] = titlern movie['category'] = categoryrn movie['nums'] = numsrn movie['city'] = cityrn movie['time'] = timern movies.append(movie)rnprint(movies)[/code]rn代码如上,会显示如下错误:rn[code=python]Traceback (most recent call last):rn File "E:/资源/python 爬虫/bs4_hj/123123.py", line 138, in rn category = tds[1].<em>string</em>rnIndexError: list <em>index</em> <em>out</em> of <em>range</em>[/code]rn小白技术有限,但是觉得应该是tds列表<em>问题</em>,但是不知道怎么修改,可以指导一下吗
爬取淘宝评论时出现list index out of range问题
list <em>index</em> <em>out</em> of <em>range</em>  列表越界Traceback (most recent call last):  File &quot;G:/workSpace/Python/TB_Crawler/Crawler_train.py&quot;, line 71, in &amp;lt;module&amp;gt;    print(getCommentsList(ItemURL2))  File &quot;G:/workSp...
[D]关于IndexError: list index out of range问题
我编了个小程序 读取文件数据,运行时总提示IndexError: list <em>index</em> <em>out</em> of <em>range</em> ,我仔细检查了,索引并没有越界啊,还有其他原因导致这个错误吗 代码太长了 贴出部分代码 希望大家帮忙看看 感激不尽 rn[code=Python] file1=open('%s' % mgt) #从mgt文件中读取信息rn global line1rn line1=[]rn global line1numrn line1num=0rn for eachline in file1.readlines():rn line1.append(eachline)rn line1num+=1 rn global componentsrn components=[]rn global compnumrn compnum=0rn i=0rn cps=0rn cpo=0rn while i
grid index out of range是什么问题如何解决?
-
grid index out of range是什么问题,怎么解决?
-
py转exe问题 出现tuple index out of range
我想把py转为exe文件。rnrn在网上找的方法,做setup.pyrn[code=python]rnfrom distutils.core import setuprnimport py2exernsetup(console=["killexe.py"])rn[/code]rnrn另外我的killexe.pyrn[code=python]import osrnos.system("taskkill /IM SogouCloud.exe /F")rnprint("complete")rn[/code]rnrn然后再win 控制台上执行python setup.py py2exern报下面的错误rnrn[code=python]rnE:\Python>python setup.py py2exernrunning py2exernTraceback (most recent call last):rn File "setup.py", line 3, in rn setup(console=["killexe.py"])rn File "C:\Program Files\lib\distutils\core.py", line 148, in setuprn dist.run_commands()rn File "C:\Program Files\lib\distutils\dist.py", line 966, in run_commandsrn self.run_command(cmd)rn File "C:\Program Files\lib\distutils\dist.py", line 985, in run_commandrn cmd_obj.run()rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\distutils_buildexe.py", line 188, in runrn self._run()rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\distutils_buildexe.py", line 267, in _runrn builder.analyze()rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\runtime.py", line 160, in analyzern self.mf.import_hook(modname)rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\mf3.py", line 120, in import_hookrn module = self._gcd_import(name)rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\mf3.py", line 274, in _gcd_importrn return self._find_and_load(name)rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\mf3.py", line 357, in _find_and_loadrn self._scan_code(module.__code__, module)rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\mf3.py", line 388, in _scan_codern for what, args in self._scan_opcodes(code):rn File "C:\Users\nasri.yang\AppData\Roaming\Python\Python37\site-packages\py2exe\mf3.py", line 417, in _scan_opcodesrn yield "store", (names[oparg],)rnIndexError: tuple <em>index</em> <em>out</em> of <em>range</em>rnrnE:\Python>[/code]rnrn这个应该代码本身没有<em>问题</em>,是不是 版本支持方面的<em>问题</em>?rn
报错 string subscript out of range,怎么办?
#include rn#include rnusing namespace std;rnint main()rnrn rn <em>string</em> P = 'c','b';rn for (int i = 0;i
调试出错:String substring out of range
[color=#FF6600]大家看看是哪里出错了[/color][code=C/C++]class Calculatorrnrn int pos;rn std::<em>string</em> expr;rn int addsubt();rn int multdiv();rn int number() throw(Error);rnrnpublic:rn Calculator() rn int Compute(const std::<em>string</em>& str) throw(Error);rn;rnrnint Calculator::Compute(const std::<em>string</em>& str) throw(Error)rnrn int rtn = 0;rn tryrn rn pos = 0;rn expr = str;rn rtn = addsubt();rn if (pos < expr.length() && expr[pos] != '\0')rn throw Error();rn rn catch(Error)rn rn std::c<em>out</em> << '\r';rn while (pos--)rn std::c<em>out</em> << ' ';rn std::c<em>out</em> << "^ syntax error" << std::endl << '\a';rn throw;rn rnrn return rtn;rnrnrnint Calculator::addsubt()rnrn int rtn = multdiv();rn while (expr[pos] == '+' || expr[pos] == '-')rn rn int op = expr[pos++];rn int opr2 = multdiv();rn if (op == '+')rn rtn += opr2;rn elsern rtn -= opr2;rn rnrn return rtn;rnrnrnint Calculator::multdiv()rnrn int rtn = number();rn while (expr[pos] == '*' || expr[pos] == '/')rn rn int op = expr[pos++];rn int opr2 = number();rn if (op == '*')rn rtn *= opr2;rn elsern rtn /= opr2;rn rnrn return rtn;rnrnrnint Calculator::number() throw(Error)rnrn int rtn;rnrn if (expr[pos] == '(')rn rn pos++;rn rtn = addsubt();rn if (expr[pos++] != ')')rn throw Error();rn rn elsern rn if (!std::isdigit(expr[pos]))rn throw Error();rn char ans[81];rn int i = 0;rn while(std::isdigit(expr[pos]) && pos < expr.length())rn ans[i++] = expr[pos++];rn ans[i] = '\0';rn rtn = std::atoi(ans);rn rnrn return rtn;rnrnrnint main()rnrn int ans;rn dorn rn std::c<em>out</em> << "Enter expression (0 to quit):" << std::endl;rn std::<em>string</em> expr;rn std::cin >> expr;rnrn tryrn rn Calculator calc;rn ans = calc.Compute(expr);rn if (ans != 0)rn std::c<em>out</em> << ans << std::endl;rn rn catch(Error)rn rn std::c<em>out</em> << "Try again" << std::endl;rn ans = 1;rn rn rn while (ans != 0);rnrn return 0;rn[/code]
java string indexof out of range怎么办
rn我做的是文本编辑 做查找的功能 查找字符串的过程中 要不断把文档里的所有内容赋值进一个<em>string</em>(我建了一个<em>string</em>字符串数组)中 就出现了这个<em>问题</em> 貌似是数组越界 但是怎么处理呢
关于index range scan的问题
假设有一个表其中a和b两列构成唯一索引。rn当查询条件只有a的时候发现,执行计划为<em>index</em> <em>range</em> scan,使用的唯一索引rnrn那请问这样的话,和我在a上建立一个普通索引有差别吗?
Spring+Hibernate StringIndexOutOfBoundsException String index out解决方法
Spring+Hibernate运行时所出现的异常Caused by java.lang.StringIndexOutOfBoundsException String <em>index</em> <em>out</em>解决方法
急急...送分。。关于JSP的错误:java.lang.StringIndexOutOfBoundsException: String index
rn 在一个FOR循环中,我至少调用了十多个String类型,运行JSP程序有的时候可以执行,rn有时出现错误:rnjava.lang.StringIndexOutOfBoundsException: String <em>index</em> <em>out</em> of <em>range</em>: -1rnrn 怎样释放String?? 怎样解决这个错误??
vector subscript out of range问题
[code=c]rnfor(std::vector::size_type i = lineStr.size() - 1; i >= 0; i--)rnrn sscanf(lineStr[i],"%s %s %s %s %s %s %s %s",pCode,pName,pStr,pGroup,pValue,pUnit,pMin,pMax);rnrn[/code]rn这段代码有什么<em>问题</em>么,求各位大大们解答,谢谢了
list Index out of Bounds问题
用BCB6编译好一个可以独立运行的程序,在安装了BCB6的2000/XP机器上测试完全没<em>问题</em>。rnrn在没有安装BCB6的机器上做测试,有几部XP的机器上,运行会频频出现list Index <em>out</em> of Bounds错误,但大部分XP即使没有安装BCB6,也能正常运行。2003的机器只试了一部,没装BCB6的,测试没<em>问题</em>。rnrn<em>问题</em>奇怪就在于为何有某些XP运行会出现list Index <em>out</em> of Bounds呢?有朋友也遇到过这样的情况,可以分享一下经验吗?
LIST INDEX OUT OF BOUNDS(?)问题
BCB5上开发的一个程序,在很多机器上使用很正常,但在某些机器上运行,有时会出现如题所示的报错。rn 我想用CODEGUARD来检测,结果使用CODEGUARD后,程序启动后没有反应。rn 我知道这种错误可能是数组访问超界,但是调试时很难捕捉。如何解决呢?rn 顺便贴点有关代码(不能确定是这些代码的错误)rnrntypedef class ColumnInfornrnpublic:rn AnsiString Title;rn int Width;rnrnColumnInfo;rnrn//---------------------------------------------------------------rn在FORMSHOW中:rnrn ColumnInfo ciMenu[3];rn ciMenu[0].Title = "代 码";rn ciMenu[0].Width = 45;rn ciMenu[1].Title = "名称";rn ciMenu[1].Width = 94;rn ciMenu[2].Title = "单位";rn ciMenu[2].Width = 15;rn AdjustGrid(dbgdMenu,ciMenu,3,10);rn//-----------------------------------------------------------------rnvoid __fastcall AdjustGrid(TDBGrid *grdadjust, ColumnInfo *clmninfo,int clmncount,int fontsize)rnrn int ColumnCount;rn if(grdadjust->FieldCount > clmncount )rn ColumnCount = clmncount;rn elsern ColumnCount = grdadjust->FieldCount;rnrn for(int k=0;kColumns->Items[k]->Title->Caption = clmninfo[k].Title;rn grdadjust->Columns->Items[k]->Title->Font->Name ="宋体";rn grdadjust->Columns->Items[k]->Title->Font->Size = fontsize;rn grdadjust->Columns->Items[k]->Width = clmninfo[k].Width;rn rnrn if(grdadjust->FieldCount >clmncount)rn for(int k=clmncount;kFieldCount; k++)rn rn grdadjust->Columns->Items[k]->Title->Caption;// = ""clmninfo[k].Title;rn grdadjust->Columns->Items[k]->Title->Font->Name ="宋体";rn grdadjust->Columns->Items[k]->Title->Font->Size = fontsize;rn grdadjust->Columns->Items[k]->Width = -1;//0;//clmninfo[k].Width;rn grdadjust->Columns->Items[k]->Visible = false;rn rnrnrn
急死了,----------------------------------------------Subscript out of range
aspSmartUpload 錯誤 '800a0009' rnrnSubscript <em>out</em> of <em>range</em> rnrndownload.asp, 列5 rnrn
求助--OUT OF RANGE
本人电脑时常启动变青屏,显示“OUT OF RANGE”字样,须再次启动才正常;请问这是显示器的<em>问题</em>吗?如何解决?rn本人电脑设定为大字体,不过换成小字体好象也一样;另外就是我通常不关显示器的,这会有<em>问题</em>?rnrn
vector subscript out of range
小弟用VC6.0编写了个DLL(DLL有多线程)应用程序调用它没有任何<em>问题</em>,但是,当用VS2005重新编译产生DLL,应用程序EXE调用出错了 Expression:vector subscript <em>out</em> of <em>range</em>。我试图用抛出异常来查找,但是不知道该抛出什么异常 。rnrn附:VS2005编译产生的DLL(debug),VC6.0产生的应用程序EXE(debug)rn请问VC6.0 和VS2005 的STL实现有区别吗? 还是其他原因?rnrn
subscript out of range
创建对象是出现这个错误,我没用下标阿,这是怎么回事、rnrn出事的地方是rnset obj=server.createobject("Lyfupload.uploadFile")rn
Subscript out of range
LyfUpload 错误 '80020009' rnrnSubscript <em>out</em> of <em>range</em> rnrn/金和田/manager/doupload.asp,行 15 rnrnrn代码如下:rnrnrnrnrn rn 文件<em>上传</em>rnrnrnrnrnrnrn rn rnrnrnrn第15行是 set uploadphoto = Server.CreateObject("LyfUpload.UploadFile")rnrn请各位帮忙解决,小弟很急!!!
subscript out of range原因
引用“microsofe runtimr scripting”,读写文件,加密一个应用程序。rn本地运行时没有<em>问题</em>,生成.exe文件交给用户,运行提示“错误9,subscript <em>out</em> of <em>range</em>”rn请教大虾,可能的原因是什么,如何解决,谢谢!!!
vector out of range
Hi ,大家好,我是新来的,请多多关照呀。rn在快速排序算法中,出了点<em>问题</em>,请那位高人指点指点,在此先谢了!rn下面是程序原文和<em>问题</em>:rn//quickSort.hrnrn#ifndef QUICKSORT_Hrn#define QUICKSORT_Hrn#include rnrnusing namespace std;rnrntemplaternvoid quickSort( vector a )//对队列a进行快速排序rnrn quickSort( a, 0, a.size()-1 ); //调用重载函数rnrnrntemplaternvoid quickSort( vector a, int left, int right )rnrn if( left>=right ) //如果待排长度为0或1,无需再排rn return;rnrn int pivot=partition( a, left, right ); //进行划分rn quickSort( a, left, pivot-1 ); // 对分割点左半部分进行快速排序rn quickSort( a, pivot+1, right ); //对分割点右半部分进行快速排序rnrnrntemplaternint partition( vector a, int left, int right )rnrnrn int pivot;rn Comparable x=a[ left ]; //以第一个元素为基准rn int i=left;rn int j=right+1;rnrn while( true )rn while( a[ ++i ]x ); //右边比基准大的不动rn if( i>=j ) //划分完毕时退出rn break;rn swap( a[ i ], a[ j ] ); //此时,a[ i ]>=x, 且a[ j ]rn#include rnrnusing namespace std;rnrnint _tmain(int argc, _TCHAR* argv[])rnrn vector< int > v( 9 );rn rn int arr[ 9 ]= 90, 3, 34, 4, 45, 5, 56, 6, 67 ;rn for( int i=0; i<<
slice bounds out of range
[img=https://img-bbs.csdn.net/upload/201705/27/1495850320_223860.png][/img]rnrnb = [0, 0, 0, 0, 0]rnb[2:] 为什么会报错, 不应该是 b[2:] = [0, 0, 0] ?
Recordindex out of range
很简单的一个过程,就是使用TcxDBNavigator控件对一个数据集进行操作控制,在点击删除按钮后出现错误提示‘Record<em>index</em> <em>out</em> of <em>range</em>’,请各位帮帮忙
Quartz.NET-2.0下载
Quartz.NET框架的核心是调度器。调度器负责管理Quartz.NET应用运行时环境。Quartz不仅仅是线程和线程管理。为确保可伸缩性,Quartz.NET采用了基于多线程的架构。启动时,框架初始化一套worker线程,这套线程被调度器用来执行预定的作业。这就是Quartz.NET怎样能并发运行多个作业的原理。Quartz.NET依赖一套松耦合的线程池管理部件来管理线程环境。作业是一个执行任务的简单.NET类。只需实现Quartz.IJob接口,IJob接口包含唯一的一个方法Execute(),作业从这里开始执行。一旦实现了IJob接口和Execute ()方法,当Quartz.NET确 相关下载链接:[url=//download.csdn.net/download/sdsasasd/4655892?utm_source=bbsseo]//download.csdn.net/download/sdsasasd/4655892?utm_source=bbsseo[/url]
立方酒店管理系统(SQL三层)下载
关于系统:建议本系统在800×600显示分辨率下运行; 关于使用UPS稳压电源:本系统经过全面破坏性测试,本系统能够修复突然断电而造成的数据表损坏,但是为了以防万一,建议用户使用UPS不间断电 源,以免非正常退出本系统而造成数据被破坏。 关于开机顺序:如果是网络化运行,每此启动本系统前必须先运行服务器,然后再运行客户机系统。服务器系统在运行时会运行服务器程序特有的系 统操作,不管任何原因造成的重开机,都必须先运行服务器。 关于系统版本:本版本在继续开发完善中,请您经常访问我们的网站了解最新版本信息。希望您能够及时反馈给我们,以便我们及时修正和改进,对 于您的支持,我们深表感谢。 相关下载链接:[url=//download.csdn.net/download/sunfone/2180382?utm_source=bbsseo]//download.csdn.net/download/sunfone/2180382?utm_source=bbsseo[/url]
网站建设公司单位建站软件下载
模板介绍: 黑色+红色为主调的网站建设公司网站模板,为网站建设、设计行业的朋友提供了一个优秀的业务平台,网站设计精美,布局大气,网站案例功能专门采用后台自定义模型单独设计,可更好为把客户展示出来,此模板适用于网络公司网站平台或相关设计业务的网站平台。 模板宽:960px 主色调:黑色+红色 布 局:div+css 对齐方式:居中 后台地址:pageadmin网站管理系统 相关下载链接:[url=//download.csdn.net/download/woshiaq_download/5280378?utm_source=bbsseo]//download.csdn.net/download/woshiaq_download/5280378?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的