This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 16658 - Unexpected exception during IDE startup
Summary: Unexpected exception during IDE startup
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
: 17810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-17 18:09 UTC by Colin R. Begg
Modified: 2003-06-30 13:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log as requested in the message box (359.02 KB, text/plain)
2001-10-17 18:11 UTC, Colin R. Begg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin R. Begg 2001-10-17 18:09:46 UTC
On first starting, a Java.lang.classCast exception occurs.
Comment 1 Colin R. Begg 2001-10-17 18:11:35 UTC
Created attachment 3052 [details]
ide.log as requested in the message box
Comment 2 _ ttran 2001-10-18 08:01:02 UTC
extbrowser and jsp are seen in stack trace
Comment 3 _ rkubacki 2001-10-18 08:42:51 UTC
I see a lot of exceptions. Couple of them are really from extbrowser
and web module. The extbrowser has some problems on Win98 platform,
please fill a separate issue if you are encountering some of these.
Exceptions from jsp are mostly from parsing of JSP. Maybe they should
be logged as it often means that the JSP page is not parseable at the
moment (not an unusal thing during editing).

Most of exceptions appeared as a result of switch FFJ3.0 -> NB3.2.1
(many missing modules). In fact reported error is classCastException
coming from editor:

*********** Exception occurred ************
Wed Oct 17 17:46:04 BST 2001: java.lang.ClassCastException:
org.netbeans.modules.editor.java.JavaIndentEngine
java.lang.ClassCastException:
org.netbeans.modules.editor.java.JavaIndentEngine

Comment 4 Jan Lahoda 2001-10-25 17:05:31 UTC
IMO, the editor is not the bad guy, the JavaIndentEngine itself is not
a problem. Please, read last two exceptions.
Line 127 from
autoupdate/src/org/netbeans/modules/autoupdate/Settings.java:
return (AutoupdateType)handle.getServiceType();
This is line from which the exception is thrown. I think that
handle.getServiceType() returns instance of JavaIndentEngine, but I do
not understand how editor could achieve it. The problem is probably
first exception thrown in this session (second from bottom). I am not
sure whether problem is in autoupdate module or in core, so I will
assign it to core reassign it if I am wrong.
Comment 5 Jan Zajicek 2001-10-26 12:09:19 UTC
Passing to Ales, according to the last stacktrace in the log.
Comment 6 akemr 2001-10-26 14:21:44 UTC
This exception appears after upgrade from Forte 3.0 to NB 3.2.1
and then invoking autoupdate automatic check within next startup.

Workaround: You should go Tools -> Options -> Update Center and
set property Update Server to NetBeans Update Center.

This problem doesn't occur when you upgrade from Forte 3.0 (or Forte -
 development version) to NB 3.3, so I'm closing it as fixed.
Comment 7 akemr 2001-11-19 09:45:52 UTC
*** Issue 17810 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2003-06-30 13:47:14 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 9 Quality Engineering 2003-06-30 13:49:23 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.