求助 这个错误是因为304是什么错误

求助!硬盘重映射扇区计数错误!这个是什么意思?【电脑故障吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:376,499贴子:
求助!硬盘重映射扇区计数错误!这个是什么意思?收藏
求助!硬盘重映射扇区计数错误!这个是什么意思?谢谢各位大神帮忙,如图:另外,不知道是不是因为这个原因,每天我的电脑开机的时候都会自检,以前不这样的。是因为这个错误造成的吗?能修补吗?求各位大神告知。谢谢。。
电脑故障一次装机终生领积分,一键下载软件装机合集包,每天结算,绝不扣量,不扣费知名软件,绿色安全电脑故障设主页装软件,每台电脑领6300积分,还有精美礼品等你拿
硬盘要挂的节奏,准备新硬盘吧
硬盘坏道多了,
建议下载专业检测硬盘的工具 自己检测下
百度上有免费软件
可以再blos关闭的
百度看一下 自己关闭就行
登录百度帐号推荐应用买的时候在卖家那里安装了一些免费应用,但是好像用的是他们的apple&ID,昨天自己注册了一下,同步的时候之前他们给安装的应用不小心全都移除了。然后到苹果商店免费下载一些应用如QQ、汤姆猫等,但是同步的时候出现了两种错误提示:【应用程序未被安装到ipad上,因为发生未知错误0x8008001】和【应用程序未被安装安装到ipad上,因其资源已被修改】特此求助解决办法
有种思念叫望穿秋水,有种寒冷叫忘穿秋裤。
这些软件是要你重新安装的,下载IPAD的软件会和你的苹果ID绑定而不是和设备绑定。之前安装的软件是和商家的苹果ID绑定的,所以只有商家的ID才能使用,你用自己的ID重新装一遍软件就可以了。
Re:[小蛮腰舅舅,2楼]&就是绑定了自己的ID之后下载安装时出现的提示错误,目前还没解决。
有种思念叫望穿秋水,有种寒冷叫忘穿秋裤。
.&重新启动电脑。.&安装.apple.&com.&cn/itunes/download/]最新版本的&iTunes[/url]。.&验证电脑是否满足最低系统要求。iOS&设备需要以下最低版本的&Windows:Windows&XP&Service&Pack&3Windows&VistaWindows&7.&从&Microsoft&下载并安装任何可用的软件更新。.&将设备直接连接到电脑,而不是外部&USB&集线器。检查您的电脑是否配有&USB&2.0&端口[/url]。.&检查设备和电缆的基座接口是否有绒毛或其他碎屑。如果可能,使用另一根&Apple&30&针&USB&电缆连接设备。.&断开除键盘和鼠标之外的其他&USB&外围设备与电脑的链接。断开这些外围设备的连接后,重新启动电脑,连接您的设备,并打开&iTunes。.&将您的设备连接到电脑上的其他&USB&端口。.&使用任务管理器停止一些&Apple&服务:启动任务管理器:&对于&Windows&XP:按下键盘上的&Control&+&Alt&+&Delete。对于&Windows&Vista&和&Windows&7:按下键盘上的&Control&+&Alt&+&Delete。然后点按“启动任务管理器”。如果&Windows&需要您的许可才能继续,请点按“继续”。点按任务管理器的“进程”标签。点按以下每个进程的名称并选取“结束进程”,结束这三个进程:&iTunesHelper.exeAppleMobileDeviceService.exeiPodService.exe结束这些进程后,重新启动您的电脑,打开&iTunes&并进行测试。
您需要登录后才可以发帖
其他登录方式:12:28 提问
实在搞不懂,这里的错误。求助
import java.awt.BorderL
import java.awt.D
import java.awt.FlowL
import java.awt.GridL
import java.awt.HeadlessE
import java.awt.event.ActionE
import java.awt.event.ActionL
import javafx.scene.layout.B
import javax.swing.JB
import javax.swing.JD
import javax.swing.JF
import javax.swing.JL
import javax.swing.JOptionP
import javax.swing.JP
import javax.swing.JPasswordF
import javax.swing.JScrollB
import javax.swing.JScrollP
import javax.swing.JT
import javax.swing.JTextF
import util.EmpU
import model.EmpE
import model.U
public class UserPanel extends JPanel {
private static final long serialVersionUID = 1L;
private JPanel jp1, jp2;
private JLabel jl1;
private JT
private JScrollP
private JButton jb1, jb2, jb3;
private JT
private UserTableM
private AddD
private JF
public UserPanel(JFrame jf) {
this.setLayout(new BorderLayout());
jp1 = new JPanel();
jp2 = new JPanel();
jl1 = new JLabel("用户管理界面");
jb1 = new JButton("添加用户");
jb1.addActionListener(new UserManagerClick());
jb2 = new JButton("删除用户");
jb2.addActionListener(new UserManagerClick());
jb3 = new JButton("修改用户");
jb3.addActionListener(new UserManagerClick());
jp1.add(jl1);
jp2.add(jb1);
jp2.add(jb2);
jp2.add(jb3);
usermodel = new UserTableModel();
jtable = new JTable(usermodel);
jsp = new JScrollPane(jtable);
this.add(jp1, BorderLayout.NORTH);
this.add(jp2, BorderLayout.SOUTH);
this.add(jsp);
private class UserManagerClick implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (e.getSource() == jb1) {
ad = new AddDialog();
} else if (e.getSource() == jb2) {
} else if (e.getSource() == jb3) {
private class AddDialog extends JDialog {
private JLabel jl1, jl2, jl3;
private JButton jb1, jb2;
private JPanel jp1, jp2, jp3, jp4;
private JTextField jtf1, jtf2;
private JPasswordF
private JDialog jdg=
public AddDialog() {
this.setSize(300, 200);
this.setModal(true); // 设置为模态对话框,不能操作主窗体。如果这里用JFrame就无法实现该功能了。
this.setLocation(jf.getX() + 50, jf.getY() + 50);
this.setTitle("添加用户信息");
this.setLayout(new GridLayout(4, 1));
jp1 = new JPanel();
jp2 = new JPanel();
jp3 = new JPanel();
jp4 = new JPanel();
jl1 = new JLabel("用
jl2 = new JLabel("用户密码:");
jl3 = new JLabel("用户昵称:");
jb1 = new JButton("添加用户");jb1.addActionListener(new AddDialogClick());
jb2 = new JButton("重置数据");jb2.addActionListener(new AddDialogClick());
jtf1 = new JTextField(20);
jtf2 = new JTextField(20);
jpf = new JPasswordField(20);
jp1.add(jl1);
jp1.add(jtf1);
jp2.add(jl2);
jp2.add(jpf);
jp3.add(jl3);
jp3.add(jtf2);
jp4.add(jb1);
jp4.add(jb2);
this.add(jp1);
this.add(jp2);
this.add(jp3);
this.add(jp4);
this.pack();
this.setResizable(false);
this.setVisible(true);
private void reset() {
jtf1.setText("");
jtf2.setText("");
jpf.setText("");
private class AddDialogClick implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (e.getSource() == jb1) {
// 添加用户
String username=jtf1.getText();
if (username == null
||"".equals(username.trim())) {
//属于哪个窗口就是当弹出提示对话框时,非属于的其他窗体全部隐藏不显示.
JOptionPane.showMessageDialog(jdg, "请输入正确的用户名!", "发现错误!",
JOptionPane.ERROR_MESSAGE);*/
EmpUtil.showError(jdg, "请输入正确的用户名!");
//必须得有return。虽然弹出提示对话框,但是程序还是继续往下执行的。
String password=new String(jpf.getPassword());
String nickname=jtf2.getText();
User u=new User();
u.setUsername(username);
u.setPassword(password);
u.setNickname(nickname);
usermodel.getUd().add(u);
AddDialog.this.setVisible(false);
//ad.dispose();
} else if (e.getSource() == jb2) {
// 重置数据
} catch (EmpException e1) {
EmpUtil.showError(jdg, e1.getMessage());
AddDialog.this.setVisible(false);为什么这句改成ad.setVisible(false);
会报空指针异常。
按赞数排序
if (e.getSource() == jb1) {
ad = new AddDialog();//弹出窗体,然后这里是不往下执行,只有窗体不显示了才往下执行。所以在弹出的时候,界面内操作时,ad还没有赋值完成,是null,你可以这句话前后加print看看执行过程
你确定时ad空指针错误么?我运行了你的代码,把你没有提供的类注释掉后,可以完成你想要的操作。这是我运行的代码,没有异常,贴代码挺好的,但是贴异常信息最重要。
import java.awt.BorderL
import java.awt.GridL
import java.awt.event.ActionE
import java.awt.event.ActionL
import javax.swing.JB
import javax.swing.JD
import javax.swing.JF
import javax.swing.JL
import javax.swing.JP
import javax.swing.JPasswordF
import javax.swing.JScrollP
import javax.swing.JT
import javax.swing.JTextF
public class UserPanel extends JPanel {
private static final long serialVersionUID = 1L;
private JPanel jp1, jp2;
private JLabel jl1;
private JT
private JScrollP
private JButton jb1, jb2, jb3;
private JT
private AddD
private JF
public UserPanel(JFrame jf) {
this.setLayout(new BorderLayout());
jp1 = new JPanel();
jp2 = new JPanel();
jl1 = new JLabel("用户管理界面");
jb1 = new JButton("添加用户");
jb1.addActionListener(new UserManagerClick());
jb2 = new JButton("删除用户");
jb2.addActionListener(new UserManagerClick());
jb3 = new JButton("修改用户");
jb3.addActionListener(new UserManagerClick());
jp1.add(jl1);
jp2.add(jb1);
jp2.add(jb2);
jp2.add(jb3);
// usermodel = new UserTableModel();
jtable = new JTable();
jsp = new JScrollPane(jtable);
this.add(jp1, BorderLayout.NORTH);
this.add(jp2, BorderLayout.SOUTH);
this.add(jsp);
private class UserManagerClick implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (e.getSource() == jb1) {
ad = new AddDialog();
} else if (e.getSource() == jb2) {
} else if (e.getSource() == jb3) {
private class AddDialog extends JDialog {
private JLabel jl1, jl2, jl3;
private JButton jb1, jb2;
private JPanel jp1, jp2, jp3, jp4;
private JTextField jtf1, jtf2;
private JPasswordF
private JDialog jdg =
public AddDialog() {
this.setSize(300, 200);
this.setModal(true); // 设置为模态对话框,不能操作主窗体。如果这里用JFrame就无法实现该功能了。
this.setLocation(jf.getX() + 50, jf.getY() + 50);
this.setTitle("添加用户信息");
this.setLayout(new GridLayout(4, 1));
jp1 = new JPanel();
jp2 = new JPanel();
jp3 = new JPanel();
jp4 = new JPanel();
jl1 = new JLabel("用
jl2 = new JLabel("用户密码:");
jl3 = new JLabel("用户昵称:");
jb1 = new JButton("添加用户");
jb1.addActionListener(new AddDialogClick());
jb2 = new JButton("重置数据");
jb2.addActionListener(new AddDialogClick());
jtf1 = new JTextField(20);
jtf2 = new JTextField(20);
jpf = new JPasswordField(20);
jp1.add(jl1);
jp1.add(jtf1);
jp2.add(jl2);
jp2.add(jpf);
jp3.add(jl3);
jp3.add(jtf2);
jp4.add(jb1);
jp4.add(jb2);
this.add(jp1);
this.add(jp2);
this.add(jp3);
this.add(jp4);
this.pack();
this.setResizable(false);
this.setVisible(true);
private void reset() {
jtf1.setText("");
jtf2.setText("");
jpf.setText("");
private class AddDialogClick implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (e.getSource() == jb1) {
// 添加用户
String username = jtf1.getText();
if (username == null || "".equals(username.trim())) {
// 属于哪个窗口就是当弹出提示对话框时,非属于的其他窗体全部隐藏不显示.
* JOptionPane.showMessageDialog(jdg, "请输入正确的用户名!",
* "发现错误!", JOptionPane.ERROR_MESSAGE);
// EmpUtil.showError(jdg, "请输入正确的用户名!");
// 必须得有return。虽然弹出提示对话框,但是程序还是继续往下执行的。
String password = new String(jpf.getPassword());
String nickname = jtf2.getText();
// User u = new User();
// u.setUsername(username);
// u.setPassword(password);
// u.setNickname(nickname);
// usermodel.getUd().add(u);
AddDialog.this.setVisible(false);
// ad.dispose();
} else if (e.getSource() == jb2) {
// 重置数据
} catch (Exception e1) {
// EmpUtil.showError(jdg, e1.getMessage());
public static void main(String[] args) {
JFrame frm = new JFrame();
UserPanel up = new UserPanel(frm);
frm.getContentPane().add(up);
frm.setSize(300, 400);
frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frm.setLocationRelativeTo(null);
frm.setVisible(true);
整个代码只有UserManagerClick里会初始化ad
如果直接执行AddDialogClick,ad就是null
AddDialog 没有实例化
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at viewer.UserPanel$AddDialog$AddDialogClick.actionPerformed(UserPanel.java:141)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at ponent.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at ponent.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at ponent.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at ponent.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at ponent.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at ponent.show(Unknown Source)
at ponent.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at viewer.UserPanel$AddDialog.&init&(UserPanel.java:108)
at viewer.UserPanel$UserManagerClick.actionPerformed(UserPanel.java:59)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at ponent.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at ponent.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at ponent.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at ponent.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at ponent.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
if (e.getSource() == jb1) {
ad = new AddDialog();//弹出窗体,然后这里是不往下执行,只有窗体不显示了才往下执行。所以在弹出的时候,界面内操作时,ad还没有赋值完成,是null,你可以这句话前后加print看看执行过程
其他相关推荐匿名用户不能发表回复!|
每天回帖即可获得10分可用分!小技巧:
你还可以输入10000个字符
(Ctrl+Enter)
请遵守CSDN,不得违反国家法律法规。
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。

我要回帖

更多关于 皮国勇犯什么错误了 的文章

 

随机推荐